default.aspx
来自「这是asp.net^和Visual C++Sharp编写的串并口通讯的书籍 源代」· ASPX 代码 · 共 33 行
ASPX
33 行
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>实时局部刷新模式统计网站流量</title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" AsyncPostBackTimeout="520"/>
<div>
<table align="center" border="1" cellpadding="1" cellspacing="1" bgcolor="black" bordercolor="#ffffff">
<tr>
<td style="height: 25px; font-weight: bold; font-size: 16pt; text-align: center; background-color: aliceblue;" colspan="2" bgcolor="#ffffff">
实时局部刷新模式统计网站流量</td>
</tr>
<tr>
<td style="vertical-align: top; text-align: center;" colspan="2" bgcolor="#ffffff">
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:Timer ID="Timer1" runat="server" Interval="5000" OnTick="Timer1_Tick">
</asp:Timer>
<asp:Image ID="Image1" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?