How to Use Master Pages in ASP.NET
- First create your Web Application
- Right click on your Web Application icon and choose Add Item
- Choose the "Web Forms Master Page" option and click Add
- Add static content to your master page outside the "content placeholder" area. This content will appear on every page that you associate with the Master Page. Be sure to add the CSS or Stylesheet you would like to use throughout your website in the header, as this makes it easy to update in just one place.
- Create a new Web Form with Master Page and select desired master page file.
- Add desired content and repeat until your website is done.