ASP.NET Page /Question.aspx (C#)
Uses Code Behind Page Page /Question.aspx.cs (C#)
1: <%@ Page Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true" Inherits="_Question" Codebehind="Question.aspx.cs" %>  
2: <asp:Content ID="MainContent" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">  
3:   
4: <script type="text/javascript">  
5:     $(document).ready(function () {  
6: //        window.resizeTo($('#tblOuter').width() + 50, $('#tblOuter').height() + 20)  
7: //        $('#tblMain tr').each(function () {  
8: //            if ($(this).hasClass('ShowRow')) {  
9: //                $(this).removeClass('ShowRow');  
10: //                $(this).addClass('HideRow');  
11: //            }  
12: //        })  
13:     })  
14:   
15: </script>  
16:   
17: <table style="height: 100%" class="Content_Table" width="90%" border="1" align="center" cellpadding="5">  
18: <tr>  
19:     <td valign="top">  
20:         <table class="Content_Table" border="0" align="center" cellpadding="5" width="90%">  
21:         <tr>  
22:             <td>  
23:                 <table border="0" cellpadding="5" cellspacing="5" class="Comment_TextArea" width="100%">  
24:                 <tr>  
25:                     <td><asp:Label runat="server" ID="Label1" Text="Question: "></asp:Label></td>  
26:                     <td><asp:Label runat="server" ID="lblQuestion" ForeColor="Black" Font-Bold="false" ></asp:Label></td>  
27:                 </tr>  
28:   
29:                 <tr>  
30:                     <td><asp:Label runat="server" ID="Label3" Text="Answer1: "></asp:Label></td>  
31:                     <td><asp:Label runat="server" ID="lblAnswer1" ForeColor="Black" Font-Bold="false"></asp:Label></td>  
32:                 </tr>  
33:                 <tr>  
34:                     <td><asp:Label runat="server" ID="Label4" Text="Answer2: "></asp:Label></td>  
35:                     <td><asp:Label runat="server" ID="lblAnswer2" ForeColor="Black" Font-Bold="false"></asp:Label></td>  
36:                 </tr>  
37:                 <tr>  
38:                     <td><asp:Label runat="server" ID="Label6" Text="Answer3: "></asp:Label></td>  
39:                     <td><asp:Label runat="server" ID="lblAnswer3" ForeColor="Black" Font-Bold="false"></asp:Label></td>  
40:                 </tr>  
41:                 <tr>  
42:                     <td><asp:Label runat="server" ID="Label8" Text="Answer4: "></asp:Label></td>  
43:                     <td><asp:Label runat="server" ID="lblAnswer4" ForeColor="Black" Font-Bold="false"></asp:Label></td>  
44:                 </tr>  
45:                 <tr>  
46:                     <td><asp:Label ID="Label10" runat="server" Text="Answer5: "></asp:Label></td>  
47:                     <td><asp:Label runat="server" ID="lblAnswer5" ForeColor="Black" Font-Bold="false"></asp:Label></td>  
48:                 </tr>  
49:   
50:                 <tr>  
51:                     <td><asp:Label runat="server" ID="Label2" Text="Answer: "></asp:Label></td>  
52:                     <td><asp:Label runat="server" ID="lblAnswer" ForeColor="Black" Font-Bold="false"></asp:Label></td>  
53:                 </tr>  
54:                 </table>    
55:                   
56:                 <br />  
57:                   
58:                 <table border="0" cellpadding="5" cellspacing="5" class="Comment_TextArea" width="100%">  
59:                 <tr>  
60:                     <td><asp:Label runat="server" ID="Label5" Text="Explaination: "></asp:Label></td>  
61:                     <td><asp:Label runat="server" ID="lblExplaination" ForeColor="Black" Font-Bold="false" ></asp:Label></td>  
62:                 </tr>  
63:                 <tr>  
64:                     <td><asp:Label runat="server" ID="Label7" Text="Link: "></asp:Label></td>  
65:                     <td><asp:HyperLink runat="server" ID="hypLink" Target="_blank" ForeColor="Black" Font-Bold="false"></asp:HyperLink></td>  
66:                 </tr>  
67:                 </table>  
68:   
69:                 <br />  
70:   
71:                 <table border="0" cellpadding="5" cellspacing="5" class="Comment_TextArea" width="100%">  
72:                 <tr>  
73:                     <td width="30px"><asp:Label runat="server" ID="Label9" Text="Correctly answered: "></asp:Label></td>  
74:                     <td align="left"><asp:Label runat="server" ID="lblCorrect" ForeColor="Black" Font-Bold="false" ></asp:Label></td>  
75:                 </tr>  
76:                 <tr>  
77:                     <td><asp:Label runat="server" ID="Label12" Text="Incorrectly answered: "></asp:Label></td>  
78:                     <td align="left"><asp:Label runat="server" ID="lblIncorrect" ForeColor="Black" Font-Bold="false" ></asp:Label></td>  
79:                 </tr>  
80:                 </table>  
81:                       
82:             </td>  
83:         </tr>                                          
84:         </table>      
85:     </td>  
86: </tr>  
87: </table>  
88:   
89: </asp:Content>

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