ASP.NET Page /Admin/Admin.aspx (C#)
Uses Code Behind Page Page /Admin/Admin.aspx.cs (C#)
1: <%@ Page Language="C#" AutoEventWireup="true" Inherits="Admin" Codebehind="Admin.aspx.cs" ValidateRequest="false"%>  
2:   
3:   
4:   
5: <html xmlns="http://www.w3.org/1999/xhtml" >  
6:     <head>  
7:         <link rel="stylesheet" type="text/css" />  
8:     </head>  
9:   
10:   
11: <body>  
12: <form id="frm" method="post" runat="server">  
13: <asp:HyperLink ID="lblHome" runat="server" NavigateUrl="~/Admin/Default.aspx">Home</asp:HyperLink>  
14:     <table class="Outer_Table" width="90%" border="1" align="center" cellpadding="23">  
15:     <tr>  
16:         <asp:ListBox runat="server" ID="lstServers"/>  
17:     </tr>  
18:     <tr>  
19:         <td valign = "top">  
20:             <table class="Inner_Table" width="100%" border="0" align="center">  
21:             <tr>  
22:                 <td>  
23:                     <tr valign="top">  
24:                         <td align="center">QuizNet - SQL Admin</td>  
25:                     </tr>  
26:                     <tr valign="top">  
27:                         <td align="center"><asp:TextBox runat="server" ID="txtsql" Height="309px" TextMode="MultiLine" Width="100%"></asp:TextBox></td>  
28:                     </tr>      
29:                     <tr valign="top">  
30:                         <td align="center"><asp:Button runat="server" Text="Execute" ID="cmdsubmit" OnClick="cmdsubmit_Click"/></td>  
31:                     </tr>    
32:                 </td>  
33:             </tr>                  
34:             <tr>  
35:                 <td>  
36:                     <table align="center" width="100%">  
37:                     <tr>  
38:                         <td><asp:Label ID=lblresults runat="server"></asp:Label></td>  
39:                     </tr>          
40:                     </table>              
41:                 </td>  
42:             </tr>  
43:             </table>  
44:         </td>  
45:     </tr>  
46:     </table>  
47: </form>  
48: </body>  
49: </html>  
50:   
51:   

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