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 box appears, click the Web folder. Among all available items, you see options to 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, unlike 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 Orders.aspx (see Figure 34.4); then click OK.

Image

FIGURE 34.4 Adding a new web form using ...

Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.