⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 home0.aspx

📁 《圣殿祭司的ASP.NET 2.0开发详解——使用C#》光盘内容.包含了书籍所含的源代码.非常经典的一本asp.net2.0的书籍
💻 ASPX
字号:
<%@ Page masterPageFile="~/WebAdminNoButtonRow.master" debug="true" inherits="System.Web.Administration.WebAdminPage"%>
<%@ MasterType virtualPath="~/WebAdminNoButtonRow.master" %>

<script runat="server" language="cs">
protected override void OnInit(EventArgs e) {
    if (string.Compare(CurrentRequestUrl, Request.CurrentExecutionFilePath) != 0) {
          PushRequestUrl(Request.CurrentExecutionFilePath);
    }
}

public void Page_Load() {
    string queryStringAppPath = GetQueryStringAppPath();
    string queryStringPhysPath = GetQueryStringPhysicalAppPath();
    string requestAppPath = HttpContext.Current.Request.ApplicationPath;

    if (queryStringPhysPath != null) {
        string webAdminVersion = "aspnet_webadmin\\" + base.UnderscoreProductVersion + "\\";
        if (queryStringPhysPath.EndsWith(webAdminVersion)) {
             WebAdminToolError.Visible = true;
        }
    }
}

</script>

<asp:content runat="server" contentplaceholderid="titleBar">
<asp:literal runat="server" text="<%$ Resources:ProblemWithApp %>"/>
</asp:content>

<asp:content runat="server" contentplaceholderid="content">
<asp:literal runat="server" text="<%$ Resources:ProblemWithAppMessage %>"/>
<asp:literal runat="server" text="<%$ Resources:NoWebAdminAdministration %>" id="WebAdminToolError" Visible="false" />
</asp:content>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -