ASP.NET Page /Admin/Reports/NumberOfTestTakenByDate.aspx (C#)
Uses Code Behind Page Page /Admin/Reports/NumberOfTestTakenByDate.aspx.cs (C#)
1: <%@ Page Language="C#" AutoEventWireup="true" Inherits="QuiznetOnline.Web.UI.Admin.NumberOfTestTakenByDate" validateRequest="false" Codebehind="NumberOfTestTakenByDate.aspx.cs" %>  
2: <%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>  
3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
4:   
5: <html xmlns="http://www.w3.org/1999/xhtml" >  
6: <head runat="server">  
7:     <title>Admin default page</title>  
8:     <meta HTTP-EQUIV=REFRESH CONTENT=120>  
9: </head>  
10: <body>  
11:     <form id="frm" runat="server">  
12:     <asp:GridView ID="GridView1" runat="server" AllowPaging="True"  
13:         AllowSorting="True" AutoGenerateColumns="False" CellPadding="4"  
14:         DataSourceID="SqlDataSource1" EnableModelValidation="True" ForeColor="#333333"  
15:         GridLines="None" PageSize="100">  
16:         <AlternatingRowStyle BackColor="White" />  
17:         <Columns>  
18:             <asp:BoundField DataField="ResultDate" HeaderText="ResultDate" ReadOnly="True"  
19:                 SortExpression="ResultDate" />  
20:             <asp:BoundField DataField="NumberOfTest" HeaderText="NumberOfTest"  
21:                 ReadOnly="True" SortExpression="NumberOfTest" />  
22:         </Columns>  
23:         <EditRowStyle BackColor="#2461BF" />  
24:         <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />  
25:         <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />  
26:         <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />  
27:         <RowStyle BackColor="#EFF3FB" />  
28:         <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />  
29:     </asp:GridView>  
30:     <asp:SqlDataSource ID="SqlDataSource1" runat="server"  
31:         ConnectionString="<%$ ConnectionStrings:QuiznetOnline.Data.Properties.Settings.Default.QuizNetOnlineConnectionString %>"  
32:         SelectCommand="TOOLS_NumberOfTestTakenByDate"  
33:         SelectCommandType="StoredProcedure"></asp:SqlDataSource>  
34:     </form>  
35: </body>  
36: </html>  

.NET Documentation Tool is © 2002 - 2009 Winnersh Triangle Web Solutions Limited.