first include a MasterPage.master in your project then Just add a new aspx page and name it as "Sample1.aspx". Now you want to use the Sample1.master file in your aspx page. Just go to the html view of your page and add a MasterPageFile attribute in the page directive and delete all the other html that is written in the aspx page. The MasterPageFile attribute denotes that the Page is inheriting from the master page. <%@ Page MasterPageFile="~/Sample1.master" %> then add child page like following code. <%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="Default3.aspx.vb" Inherits="Default3" title="Untitled Page" %>
Mahendra