📄 dataslide.aspx
字号:
<Script Runat="Server">
Sub Page_Load
Dim strTime As String
strTime = Cache( "Time" )
If strTime Is Nothing Then
strTime = DateTime.Now.ToString( "T" )
Cache.Insert("Time", strTime, Nothing, _
Cache.NoAbsoluteExpiration, TimeSpan.FromMinutes( 1 ) )
End If
lblMessage.Text = strTime
End Sub
</Script>
<html>
<head><title>DataSlide.aspx</title></head>
<body>
Data last cached:
<asp:Label
ID="lblMessage"
Font-Bold="True"
ForeColor="Blue"
Runat="Server" />
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -