What language should be used....VB.net or ASP.net?????

I am currently wanting to build an application that will run across the web.  I have recently started learning VB.net and how to connect to SQL databases.  The users will basically log into my system and query an SQL database.  The result of the query will produce either a Crystal Report or a Chart done with a Gigasoft control.  Can someone tell me the differences between the two languages along whith when and where to use each?

Thanks
Kenny
kwh3856Asked:
Who is Participating?
 
gregoryyoungConnect With a Mentor Commented:
your vb.net code is "in" the page ... your code inherits from a class named "Page" you can put code into places like "onload" just like in a form.
0
 
gregoryyoungCommented:
ASP.NET is the part of the framework for generating web pages (i.e. html/web controls, the interface to IIS, etc). You can use VB.NET as your code to control your page ...

from google definitions:

ASP.NET (sometimes referred to as ASP+) is the latest version of Microsoft's Active Server Pages technology (ASP). ASP.NET is different than its predecessor in two major ways: it supports code written in compiled languages such as Visual Basic, C++, C#, and Perl, and it features server controls that can separate the code from the content, allowing WYSIWYG editing of pages. Although ASP.NET is not backwards compatible with ASP, it is able to run side by side with ASP applications. ASP+ files can be recognized by their .aspx extension.
www.webdev.vianetworks.co.uk/glossary-webdev.asp



0
 
rohanpandyaCommented:
Hi

 See ASP.Net is technology for building the web application you should use ASP.NET as technology. Now to create code behind for these pages you can use vb.net so for building the web page you use asp.net technology and in code behind use vb.net for event hedling which is fired at server side.

 Best Luck
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
kwh3856Author Commented:
Basically, does this mean that I create the menus and capture the user input in ASP.net and then pass the variables into the VB.net application which accesses the SQL Database?  If so, are the VB.net programs called as sub routines in the ASP web page?

Thanks
Kenny
0
 
gregoryyoungCommented:
no asp.net is just the part that interacts with the web (kind of like how your form interacts in vb.net) your code to process events etc can be written in vb.net
0
 
kwh3856Author Commented:
Thanks for your help.  That make more sense to me.  Obviously I am new to this game so I will do some more research on the Page and onload command.  Thanks again....


Kenny
0
 
gregoryyoungCommented:
start here http://www.w3schools.com/aspnet/aspnet_intro.asp ... it goes for quite a few pages past this one ...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.