Creating a Header Control
In this chapter, you'll be modifying the Main.aspx page. So that you can refer back to this page later, if necessary, follow these steps to preserve your original page:
1. |
In the Solution Explorer window, select Main.aspx.
|
2. |
Right-click the page and select Copy from the context menu.
|
3. |
Select the project, Northwind, in the Solution Explorer window.
|
4. |
Right-click and select Paste from the context menu.
|
5. |
In the Solution Explorer window, select Copy of Main.aspx, right-click, and select Rename from the context menu. Rename the page as MainOriginal.aspx.
|
6. |
Right-click again and select View Code from the context menu. Modify the class name declaration, near the top of the file (Public Class Main), so that it ... |
Get ASP.NET Developer's JumpStart 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.