Using Master Pages and visual inheritance, you can give all your web site Content pages a common look and feel.
Once you've created a Master page, you can create Content pages for your site that use the Master page as a template.
A Content page is a Web Form that uses a Master page.
In this lab, you will add Content pages to your project and give them a consistent look and feel by using the Master page you created in the previous lab. You will then add controls to a Content page and see how ASP.NET combines the content of the Master page and Content pages at runtime.
First, let's create some pages for your web site. Using the project created in the previous lab, add a new Web Form. Right-click the project name in Solution Explorer and select Add New Item.... On the Add New Item page, select Web Form and use its default name (Default2.aspx). Check the "Select master page" checkbox at the bottom of the dialog (see Figure 2-6).
Figure 2-6. Creating a Content page by selecting a Master page
You will be asked to choose a Master page to use for your form. Select MasterPage.master (see Figure 2-7).
Figure 2-7. Selecting a Master page
A Content page can have only one Master page.
Click OK and Visual Studio displays the new ...