您目前尚未登陆,请选择【登陆】或【注册
首页->行政办公->多功能在线考试系统源码>>Web/TestAnswer.aspx>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:多功能在线考试系统源码
当前文件:文件类型 OnLineExam/Web/TestAnswer.aspx打开代码结构图
普通视图
		            
1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestAnswer.aspx.cs" Inherits="Web_TestAnswer" %> 2 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>试卷答案</title> 8</head> 9<body topmargin=2 leftmargin=0 rightmargin=0> 10 <form id="form1" runat="server"> 11 <div> 12 <table cellSpacing="0" style="FONT-SIZE: 12px; FONT-FAMILY: Tahoma; BORDER-COLLAPSE: collapse; " cellPadding="0" width=500 align="center" 13 bgColor="#ffffff" border="1" bordercolor=gray> 14 <tr height=40> 15 <td align=center> 16 <IMG height="25" src="../Images/ico_Xp03.gif"><font color=#4D2600><b><asp:Label ID="lblPaperName" 17 runat="server"></asp:Label>试题答案</b></font> 18 </td> 19 </tr> 20 21 <tr> 22 <td> 23 <asp:GridView ID="GridView1" runat="server" Width=100% AutoGenerateColumns="False"> 24 <Columns> 25 <asp:TemplateField> 26 <HeaderTemplate> 27 <asp:Label id=Label24 runat="server" Text=一、单选题(每题> 28 </asp:Label> 29 <asp:Label id=Label27 runat="server"> 30 </asp:Label> 31 <asp:Label ID="Label25" runat="server" Text=分)> 32 </asp:Label> 33 </HeaderTemplate> 34 <ItemTemplate> 35 <TABLE id="Table2" cellSpacing="1" cellPadding="1" width="100%" align="center" border="0"> 36 <TR> 37 <TD colSpan="3"> 38 <asp:Label id=Label1 runat="server" Text='<%# Container.DataItemIndex+1 %>'> 39 </asp:Label> 40 <asp:Label id=Label2 runat="server" Text='<%# Eval("Title","、{0}") %>'> 41 </asp:Label> 42 <asp:Label id=Label3 runat="server" ForeColor=red Text='<%# Eval("Answer") %>' > 43 </asp:Label> 44 <asp:Label id=Label4 runat="server" Text='<%# Eval("Mark") %>' Visible=false> 45 </asp:Label> 46 </TD> 47 </TR> 48 <TR> 49 <TD width="35%"> 50 <asp:RadioButton id=RadioButton1 runat="server" Text='<%# Eval("AnswerA") %>' GroupName="Sl"> 51 </asp:RadioButton></TD> 52 <TD width="35%"> 53 <asp:RadioButton id=RadioButton2 runat="server" Text='<%# Eval("AnswerB") %>' GroupName="Sl"> 54 </asp:RadioButton></TD> 55 <TD></TD> 56 </TR> 57 <TR> 58 <TD width="35%"> 59 <asp:RadioButton id=RadioButton3 runat="server" Text='<%# Eval("AnswerC") %>' GroupName="Sl"> 60 </asp:RadioButton></TD> 61 <TD width="35%"> 62 <asp:RadioButton id=RadioButton4 runat="server" Text='<%# Eval("AnswerD") %>' GroupName="Sl"> 63 </asp:RadioButton></TD> 64 <TD></TD> 65 </TR> 66 </TABLE> 67 </ItemTemplate> 68 </asp:TemplateField> 69 </Columns> 70 <HeaderStyle Font-Size="12pt" HorizontalAlign="Left" /> 71 </asp:GridView> 72 </td> 73 </tr> 74 <tr> 75 <td> 76 <asp:GridView ID="GridView2" runat="server" Width=100% AutoGenerateColumns="False"> 77 <Columns> 78 <asp:TemplateField> 79 <HeaderTemplate> 80 <asp:Label id=Label22 runat="server" Text=二、多选题(每题> 81 </asp:Label> 82 <asp:Label id=Label28 runat="server"> 83 </asp:Label> 84 <asp:Label ID="Label23" runat="server" Text=分)> 85 </asp:Label> 86 </HeaderTemplate> 87 <ItemTemplate> 88 <TABLE id="Table3" cellSpacing="1" cellPadding="1" width="100%" align="center" border="0"> 89 <TR> 90 <TD colSpan="3"> 91 <asp:Label id=Label5 runat="server" Text='<%# Container.DataItemIndex+1 %>'> 92 </asp:Label> 93 <asp:Label id=Label6 runat="server" Text='<%# Eval("Title","、{0}") %>'> 94 </asp:Label> 95 <asp:Label id=Label7 runat="server" ForeColor=red Text='<%# Eval("Answer") %>'> 96 </asp:Label> 97 <asp:Label id=Label8 runat="server" Text='<%# Eval("Mark") %>' Visible=false> 98 </asp:Label> 99 </TD> 100 </TR> 101 <TR> 102 <TD style="HEIGHT: 22px" width="35%"> 103 <asp:CheckBox id=CheckBox1 runat="server" Text='<%# Eval("AnswerA") %>'> 104 </asp:CheckBox></TD> 105 <TD style="HEIGHT: 22px" width="35%"> 106 <asp:CheckBox id=CheckBox2 runat="server" Text='<%# Eval("AnswerB") %>'> 107 </asp:CheckBox></TD> 108 <TD style="HEIGHT: 22px"></TD> 109 </TR> 110 <TR> 111 <TD width="35%"> 112 <asp:CheckBox id=CheckBox3 runat="server" Text='<%# Eval("AnswerC") %>'> 113 </asp:CheckBox></TD> 114 <TD width="350%"> 115 <asp:CheckBox id=CheckBox4 runat="server" Text='<%# Eval("AnswerD") %>'> 116 </asp:CheckBox></TD> 117 <TD></TD> 118 </TR> 119 </TABLE> 120 </ItemTemplate> 121 </asp:TemplateField> 122 </Columns> 123 <HeaderStyle Font-Size="12pt" HorizontalAlign="Left" /> 124 </asp:GridView> 125 </td> 126 </tr> 127 <tr> 128 <td> 129 <asp:GridView ID="GridView3" runat="server" Width=100% AutoGenerateColumns="False"> 130 <Columns> 131 <asp:TemplateField> 132 <HeaderTemplate> 133 <asp:Label id=Label20 runat="server" Text=三、判断题(每题> 134 </asp:Label> 135 <asp:Label id=Label29 runat="server"> 136 </asp:Label> 137 <asp:Label ID="Label21" runat="server" Text=分)> 138 </asp:Label> 139 </HeaderTemplate> 140 <ItemTemplate> 141 <TABLE id="Table4" cellSpacing="1" cellPadding="1" width="100%" align="center" border="0"> 142 <TR> 143 <TD width="85%"> 144 <asp:Label id=Label9 runat="server" Text='<%# Container.DataItemIndex+1 %>'> 145 </asp:Label> 146 <asp:Label id=Label10 runat="server" Text='<%# Eval("Title","、{0}") %>'> 147 </asp:Label> 148 <asp:Label id=Label11 runat="server" ForeColor=red Text='<%# Eval("Answer") %>'> 149 </asp:Label> 150 <asp:Label id=Label12 runat="server" Text='<%# Eval("Mark") %>' Visible=false> 151 </asp:Label> 152 </TD> 153 <TD width="15%"> 154 <asp:CheckBox id="CheckBox5" runat="server" Text="正确"></asp:CheckBox></TD> 155 </TR> 156 </TABLE> 157 </ItemTemplate> 158 </asp:TemplateField> 159 </Columns> 160 <HeaderStyle Font-Size="12pt" HorizontalAlign="Left" /> 161 </asp:GridView> 162 </td> 163 </tr> 164 <tr> 165 <td> 166 <asp:GridView ID="GridView4" runat="server" Width=100% AutoGenerateColumns="False"> 167 <Columns> 168 <asp:TemplateField > 169 <HeaderTemplate> 170 <asp:Label id=Label18 runat="server" Text=四、填空题(每题> 171 </asp:Label> 172 <asp:Label id=Label30 runat="server" > 173 </asp:Label> 174 <asp:Label ID="Label19" runat="server" Text=分)> 175 </asp:Label> 176 </HeaderTemplate> 177 <ItemTemplate> 178 <TABLE id="Table5" cellSpacing="1" cellPadding="1" width="100%" align="center" border="0"> 179 <TR> 180 <TD> 181 <asp:Label id=Label13 runat="server" Text='<%# Container.DataItemIndex+1 %>'> 182 </asp:Label> 183 <asp:Label id=Label14 runat="server" Text='<%# Eval("FrontTitle","、{0}") %>'> 184 </asp:Label> 185 <asp:TextBox id="TextBox1" runat="server" ForeColor=red Width="100px" Text='<%# Eval("Answer") %>'></asp:TextBox> 186 <asp:Label id=Label15 runat="server" Text='<%# Eval("BackTitle") %>'> 187 </asp:Label> 188 <asp:Label id=Label17 runat="server" Text='<%# Eval("Mark") %>' Visible=false> 189 </asp:Label> 190 </TD> 191 </TR> 192 </TABLE> 193 </ItemTemplate> 194 </asp:TemplateField> 195 </Columns> 196 <HeaderStyle Font-Size="12pt" HorizontalAlign="Left" /> 197 </asp:GridView> 198 </td> 199 </tr> 200 </table> 201 </div> 202 </form> 203</body> 204</html> 205
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:多功能在线考试系统源码
51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号