以编程的方式把Master赋予内容也
时间:2011-06-14 来源:丘伟国
1 <%@ Page Language="C#" %>
2
3 <script runat="server">
4 protected void Page_PreInit(object sender, EventArgs e)
5 {
6 Page.MasterPageFile = "~/MyMasterPage.master";
7 }
8 </script>
相关阅读 更多 +
时间:2011-06-14 来源:丘伟国
1 <%@ Page Language="C#" %>
2
3 <script runat="server">
4 protected void Page_PreInit(object sender, EventArgs e)
5 {
6 Page.MasterPageFile = "~/MyMasterPage.master";
7 }
8 </script>