default.aspx

来自「Asynchrounous pages with Ajax to refresh」· ASPX 代码 · 共 23 行

ASPX
23
字号
<%@ 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>Encosia - The EncosiaSpy</title>
  <link href="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
  <form id="form1" runat="server">
<asp:ScriptManager ID="sm1" runat="server" EnablePageMethods="true">
  <Scripts>
    <asp:ScriptReference Path="spy.js" />
  </Scripts>
</asp:ScriptManager>
<asp:UpdatePanel runat="server" ID="up1" OnLoad="up1_Load">
  <ContentTemplate>
    <asp:GridView runat="server" ID="Headlines" EnableViewState="false" />
    <asp:HiddenField runat="server" ID="LatestDisplayTick" />
  </ContentTemplate>
</asp:UpdatePanel>
  </form>
</body>
</html>

⌨️ 快捷键说明

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