📄 fragment.ascx
字号:
<%@ Language="VB" %>
<%@ OutputCache Duration="10" VaryByControl="Category"%>
<Script runat=server>
Public Sub Page_Load()
' Get the Date and Time, once again this should not change after the first run
Dim NowTime As DateTime = DateTime.Now
Dim Expires As DateTime = NowTime.AddSeconds(10)
CreatedStamp.InnerHtml = NowTime.ToString("r")
ExpiresStamp.InnerHtml = Expires.ToString("r")
End Sub
</Script>
<Font size=6>
Fragment Cache created: <Font color=red><B id=CreatedStamp runat=server></B></Font>
<BR>
Fragment Cache expires: <Font color=red><B id=ExpiresStamp runat=server></B></Font>
</Font>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -