?? default.aspx
字號(hào):
?<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>無(wú)標(biāo)題頁(yè)</title>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
<table style="z-index: 100; left: 32px; position: absolute; top: 32px; border-top-style: groove; border-right-style: groove; border-left-style: groove; border-bottom-style: groove;">
<caption>
<span style="font-size: 16pt; font-family: 黑體">緩存運(yùn)行測(cè)試</span></caption>
<tr>
<td style="width: 403px">
本機(jī)時(shí)間:<asp:Literal ID="Literal1" runat="server"></asp:Literal></td>
</tr>
<tr>
<td style="width: 403px">
最后緩存時(shí)間:<asp:Literal ID="Literal2" runat="server"></asp:Literal></td>
</tr>
<tr>
<td style="width: 403px; height: 296px">
<asp:GridView ID="GridView1" runat="server" Height="233px" Width="386px" AutoGenerateColumns="False" DataKeyNames="au_id" DataSourceID="SqlDataSource1">
<Columns>
<asp:BoundField DataField="au_id" HeaderText="au_id" ReadOnly="True" SortExpression="au_id" />
<asp:BoundField DataField="au_lname" HeaderText="au_lname" SortExpression="au_lname" />
<asp:BoundField DataField="city" HeaderText="city" SortExpression="city" />
</Columns>
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:pubsConnectionString %>"
SelectCommand="SELECT [au_id], [au_lname], [city] FROM [authors]" CacheDuration="20" EnableCaching="True" OnSelected="SqlDataSource_Selected">
</asp:SqlDataSource>
<asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl="~/Default2.aspx">頁(yè)面緩存>>></asp:LinkButton></td>
</tr>
</table>
</form>
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -