Adding a New Web Form
To add a new Web Form to the project, right-click the project name in Solution Explorer and select Add New Item. When the same-named dialog appears, click the Web folder. Among all available items, you see how you can add a Web Form (which is just a Web page) or a Web Form Using Master Page. This second template is useful if you want to show the new page within a master page, differently from the first template which is instead for free pages. Select the second template so that we can link the new page to the master page, and name the new page as Orders.aspx (see Figure 37.3); then click OK.
Figure 37.3 Adding a new Web Form using a master page.
At this point Visual Studio asks you to indicate a master page from the project ...
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