O'Reilly logo

C# Primer: A Practical Approach by Stanley B. Lippman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required