I am a relatively experienced VB/Database programmer but know nothing about Web programming.
Using ASP.net/Visual Studio 2003 I have created a web page that has an option box and a couple of input boxes, plus a submit button. A second page uses the info from the first page to hit an SQL database and display the results in the grid.
Initially I was trying to do it all on one page, and everything worked, but I decided it would be smoother having the grid on a separate page. When I created the second page and moved the datagrid and data connection over there, I got an error stating "page can have only one server-side Form tag".
From what I've gathered online, this means only one of the pages can have a runat=server tag...which page should it be - the second page with the grid? If so, what is the best way to convert the first page over (i.e., in the IDE should I add an HTML page (versus ASPX) and just copy everything)? Also, how do I get the variable information from the first page over to the second so I can query my database?
I realize these are very basic questions, so if you have any links to a good primer that would be appreciated.
Using ASP.net/Visual Studio 2003 I have created a web page that has an option box and a couple of input boxes, plus a submit button. A second page uses the info from the first page to hit an SQL database and display the results in the grid.
Initially I was trying to do it all on one page, and everything worked, but I decided it would be smoother having the grid on a separate page. When I created the second page and moved the datagrid and data connection over there, I got an error stating "page can have only one server-side Form tag".
From what I've gathered online, this means only one of the pages can have a runat=server tag...which page should it be - the second page with the grid? If so, what is the best way to convert the first page over (i.e., in the IDE should I add an HTML page (versus ASPX) and just copy everything)? Also, how do I get the variable information from the first page over to the second so I can query my database?
I realize these are very basic questions, so if you have any links to a good primer that would be appreciated.