File: Default.master
<%@ Master Language="C#" %>
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
Simple Master
The content page uses the Master Page, Default.master.
The Master Page is associated through the MasterPageFile attribute.
This attribute contains the virtual path to a Master Page.
You must place all the content contained in a content page within the Content controls.
Otherwise, you get an exception.
File: SimpleContent.aspx
<%@ Page Language="C#" MasterPageFile="~/Default.master" %>
ID="Content1"
ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
Content in the first column
Content in the first column
ID="Content2"
ContentPlaceHolderID="ContentPlaceHolder2"
Runat="Server">
Content in the second column
Content in the second column