7.3. Adding Pages to a Project
We can add a new Web Forms page to our project through the Add Web Form or Add New Item menu item under Project. (There is an Add New Item icon as well.) By default, each new page is called WebFormi.aspx, where i is a digit. This is why our second NorthWind page is called WebForm2.aspx.
By default, the first Web Forms page of the project is treated as the project start page. We can specify an alternative start page by setting the start-up page property of the project. To do this, click on the Properties menu item under Project. A Property Pages window displays as pictured in Figure 7.2. Enter the name of the page you wish to have displayed at start-up. (Note that you'll need to explicitly override the default for ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access