outputcache.aspx

来自「Microsoft?ASP.NET Programming with Micro」· ASPX 代码 · 共 19 行

ASPX
19
字号
<%@ OutputCache Duration="10" VaryByParam="None" %>
<%@ Page language="c#" Codebehind="OutputCache.aspx.cs" AutoEventWireup="false" Inherits="Chapter_12.WebForm1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
    <HEAD>
        <title>WebForm1</title>
        <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
        <meta name="CODE_LANGUAGE" Content="C#">
        <meta name="vs_defaultClientScript" content="JavaScript">
        <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
    </HEAD>
    <body MS_POSITIONING="GridLayout">
        <form id="Form1" method="post" runat="server">
            <asp:Label id="Message" style="Z-INDEX: 101; LEFT: 16px; POSITION: absolute; TOP: 16px" runat="server">Label</asp:Label>
            <asp:Label id="Label2" style="Z-INDEX: 102; LEFT: 16px; POSITION: absolute; TOP: 56px" runat="server">The text above was rendered with an ASP.NET Label Server Control, then the output was cached for 10 seconds</asp:Label>
        </form>
    </body>
</HTML>

⌨️ 快捷键说明

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