mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
49 lines
2.1 KiB
Plaintext
49 lines
2.1 KiB
Plaintext
<%@ Page Language="C#" %>
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
<script runat="server">
|
|
|
|
protected void GridView1_PageIndexChanged(object sender, EventArgs e)
|
|
{
|
|
//Include three second delay for example only.
|
|
System.Threading.Thread.Sleep(3000);
|
|
}
|
|
</script>
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" >
|
|
<head runat="server">
|
|
<title>Untitled Page</title>
|
|
</head>
|
|
<body>
|
|
<form id="form1" runat="server">
|
|
<div>
|
|
<asp:ScriptManager ID="ScriptManager1" runat="server">
|
|
</asp:ScriptManager>
|
|
|
|
</div>
|
|
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
|
|
<ContentTemplate>
|
|
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" CellPadding="4" DataSourceID="SqlDataSource1"
|
|
ForeColor="#333333" GridLines="None" OnPageIndexChanged="GridView1_PageIndexChanged">
|
|
<FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
|
|
<RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
|
|
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
|
|
<PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
|
|
<HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
|
|
<AlternatingRowStyle BackColor="White" />
|
|
</asp:GridView>
|
|
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:AdventureWorksConnectionString %>"
|
|
SelectCommand="SELECT FirstName, LastName FROM HumanResources.vEmployee ORDER BY LastName, FirstName">
|
|
</asp:SqlDataSource>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
<asp:UpdateProgress ID="UpdateProgress1" runat="server">
|
|
<ProgressTemplate>
|
|
Getting employees...
|
|
</ProgressTemplate>
|
|
</asp:UpdateProgress>
|
|
</form>
|
|
</body>
|
|
</html>
|