View Single Post
Old 12-28-2007, 05:01 PM   #2 (permalink)
Phelps McManus
I'm dangerous!
 
Join Date: Jan 2002
Location: Atlanta
Posts: 882
The aspx file is your typical ASP web page, filled with HTML and ASP tags. It is what web browsers specifically open.

The aspx.vb file is strictyly VB code tied to the similarly named aspx file. It is where all of the event handling and Page class function overrides go. While it is possible to put all of that in the aspx file, putting it here is cleaner and allows you to hide most your code from the client.

Any old vb file can be referenced from the aspx.vb file, as if it were any normal, mult-sourcefile project.

Are you not using VS2005 to create this project? It generates most of the boilerplate code for you. I also recommend using it for Intellisense.

As far as databases go, I hope you are familiar with ADO.NET (or not using it) or you have a long road ahead of you. ASP.NET is cake in comparison.

edit: Oh and you seem to be missing a Web.config file, which kind of ties the whole project together and allows you to manipulate some global parameters.

Last edited by Phelps McManus : 12-28-2007 at 05:05 PM.
Phelps McManus is offline   Reply With Quote

 
Uberguilds Network