📄 varybyparam.aspx
字号:
<%@ OutputCache Duration="30" VaryByParam="Name" %>
<%@ Page language="c#" Codebehind="VaryByParam.aspx.cs" AutoEventWireup="false" Inherits="Chapter_12.VaryByParam" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>VaryByParam</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="Label1" style="Z-INDEX: 101; LEFT: 16px; POSITION: absolute; TOP: 16px" runat="server">Enter Your Name:</asp:Label>
<asp:Label id="Label2" style="Z-INDEX: 102; LEFT: 16px; POSITION: absolute; TOP: 64px" runat="server"
Visible="False">The text above was rendered with an ASP.NET Label Server Control, then the output was cached for 30 seconds</asp:Label>
<asp:TextBox id="Name" style="Z-INDEX: 103; LEFT: 168px; POSITION: absolute; TOP: 16px" runat="server"></asp:TextBox>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -