温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:多功能在线考试系统源码
当前文件路径:OnLineExam/Web/admin_PaperSetup.aspx

1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="admin_PaperSetup.aspx.cs" Inherits="Web_admin_PaperSetup" %> 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=5 bgcolor="#f1f0f4" leftmargin=2 rightmargin=2> 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=550 align="center" 13
bgColor="#ffffff" border="1" bordercolor=gray> 14
<tr height=40> 15
<td colSpan="4" align=center> 16
<IMG height="25" src="../Images/ico_Xp03.gif"><font color=#4D2600><b>试卷制定</b></font> 17
</td> 18
</tr> 19
<tr height=30> 20
<TD nowrap>考试科目:</TD> 21
<TD><asp:dropdownlist id="ddlCourse" runat="server" Font-Size="9pt" Width="88px"></asp:dropdownlist></TD> 22
<td nowrap>试卷名称:</td> 23
<td> 24
<asp:TextBox ID="txtPaperName" runat="server" Width="120px"></asp:TextBox></td> 25
</tr> 26
<tr height=30> 27
<td colspan=4><font color=#4D2600><b>单选题:</b></font></td> 28
</tr> 29
<tr height=30> 30
<TD>题目数目:</TD> 31
<td><asp:TextBox ID="txtSingleNum" runat="server" Width="120px"></asp:TextBox></td> 32
<TD>每题分值:</TD> 33
<td> 34
<asp:TextBox ID="txtSingleFen" runat="server" Width="120px"></asp:TextBox></td> 35
</tr> 36
<tr height=30> 37
<td colspan=4 style="height: 30px"><font color=#4D2600><b>多选题:</b></font></td> 38
</tr> 39
<tr height=30> 40
<TD>题目数目:</TD> 41
<td><asp:TextBox ID="txtMultiNum" runat="server" Width="120px"></asp:TextBox></td> 42
<TD>每题分值:</TD> 43
<td> 44
<asp:TextBox ID="txtMultiFen" runat="server" Width="120px"></asp:TextBox></td> 45
</tr> 46
<tr height=30> 47
<td colspan=4><font color=#4D2600><b>判断题:</b></font></td> 48
</tr> 49
<tr height=30> 50
<TD>题目数目:</TD> 51
<td><asp:TextBox ID="txtJudgeNum" runat="server" Width="120px"></asp:TextBox></td> 52
<TD>每题分值:</TD> 53
<td> 54
<asp:TextBox ID="txtJudgeFen" runat="server" Width="120px"></asp:TextBox></td> 55
</tr> 56
<tr height=30> 57
<td colspan=4><font color=#4D2600><b>填空题:</b></font></td> 58
</tr> 59
<tr height=30> 60
<TD>题目数目:</TD> 61
<td><asp:TextBox ID="txtFillNum" runat="server" Width="120px"></asp:TextBox></td> 62
<TD>每题分值:</TD> 63
<td> 64
<asp:TextBox ID="txtFillFen" runat="server" Width="120px"></asp:TextBox></td> 65
</tr> 66
<tr height=40> 67
<td colspan=4 align=center> 68
<asp:ImageButton ID="imgBtnConfirm" runat="server" ImageUrl="~/Images/Confirm.GIF" OnClick="imgBtnConfirm_Click" /></td> 69
</tr> 70
<tr> 71
<td colspan=4> 72
<asp:Panel ID="Panel1" runat="server" Width=100% Visible="False"> 73
<table cellSpacing="0" style="FONT-SIZE: 12px; FONT-FAMILY: Tahoma; BORDER-COLLAPSE: collapse; " cellPadding="0" width=100% bgColor="#ffffff" border="1" bordercolor=gray> 74
<tr> 75
<td> 76
<asp:GridView ID="GridView1" runat="server" Width=100% AutoGenerateColumns="False"> 77
<Columns> 78
<asp:TemplateField HeaderText="一、选择题"> 79
<ItemTemplate> 80
<TABLE id="Table2" cellSpacing="1" cellPadding="1" width="100%" align="center" border="0"> 81
<TR> 82
<TD colSpan="3"> 83
<asp:Label id=Label1 runat="server" Text='<%# Container.DataItemIndex+1 %>'> 84
</asp:Label> 85
<asp:Label id=Label2 runat="server" Text='<%# Eval("Title","、{0}") %>'> 86
</asp:Label> 87
<asp:Label id=Label3 runat="server" Text='<%# Eval("ID") %>' Visible="False"> 88
</asp:Label> 89
</TD> 90
</TR> 91
<TR> 92
<TD width="35%"> 93
<asp:RadioButton id=RadioButton1 runat="server" Text='<%# Eval("AnswerA") %>' GroupName="Sl"> 94
</asp:RadioButton></TD> 95
<TD width="35%"> 96
<asp:RadioButton id=RadioButton2 runat="server" Text='<%# Eval("AnswerB") %>' GroupName="Sl"> 97
</asp:RadioButton></TD> 98
<TD></TD> 99
</TR> 100
<TR> 101
<TD width="35%"> 102
<asp:RadioButton id=RadioButton3 runat="server" Text='<%# Eval("AnswerC") %>' GroupName="Sl"> 103
</asp:RadioButton></TD> 104
<TD width="35%"> 105
<asp:RadioButton id=RadioButton4 runat="server" Text='<%# Eval("AnswerD") %>' GroupName="Sl"> 106
</asp:RadioButton></TD> 107
<TD></TD> 108
</TR> 109
</TABLE> 110
</ItemTemplate> 111
</asp:TemplateField> 112
</Columns> 113
<HeaderStyle Font-Size="12pt" HorizontalAlign="Left" /> 114
</asp:GridView> 115
</td> 116
</tr> 117
<tr> 118
<td> 119
<asp:GridView ID="GridView2" runat="server" Width=100% AutoGenerateColumns="False"> 120
<Columns> 121
<asp:TemplateField HeaderText="二、多选题"> 122
<ItemTemplate> 123
<TABLE id="Table3" cellSpacing="1" cellPadding="1" width="100%" align="center" border="0"> 124
<TR> 125
<TD colSpan="3"> 126
<asp:Label id=Label9 runat="server" Text='<%# Container.DataItemIndex+1 %>'> 127
</asp:Label> 128
<asp:Label id=Label10 runat="server" Text='<%# Eval("Title","、{0}") %>'> 129
</asp:Label> 130
<asp:Label id=Label6 runat="server" Text='<%# Eval("ID") %>' Visible="False"> 131
</asp:Label> 132
</TD> 133
</TR> 134
<TR> 135
<TD style="HEIGHT: 22px" width="35%"> 136
<asp:CheckBox id=CheckBox1 runat="server" Text='<%# Eval("AnswerA") %>'> 137
</asp:CheckBox></TD> 138
<TD style="HEIGHT: 22px" width="35%"> 139
<asp:CheckBox id=CheckBox2 runat="server" Text='<%# Eval("AnswerB") %>'> 140
</asp:CheckBox></TD> 141
<TD style="HEIGHT: 22px"></TD> 142
</TR> 143
<TR> 144
<TD width="35%"> 145
<asp:CheckBox id=CheckBox3 runat="server" Text='<%# Eval("AnswerC") %>'> 146
</asp:CheckBox></TD> 147
<TD width="350%"> 148
<asp:CheckBox id=CheckBox4 runat="server" Text='<%# Eval("AnswerD") %>'> 149
</asp:CheckBox></TD> 150
<TD></TD> 151
</TR> 152
</TABLE> 153
</ItemTemplate> 154
</asp:TemplateField> 155
</Columns> 156
<HeaderStyle Font-Size="12pt" HorizontalAlign="Left" /> 157
</asp:GridView> 158
</td> 159
</tr> 160
<tr> 161
<td> 162
<asp:GridView ID="GridView3" runat="server" Width=100% AutoGenerateColumns="False"> 163
<Columns> 164
<asp:TemplateField HeaderText="三、判断题"> 165
<ItemTemplate> 166
<TABLE id="Table4" cellSpacing="1" cellPadding="1" width="100%" align="center" border="0"> 167
<TR> 168
<TD width="85%"> 169
<asp:Label id=Label19 runat="server" Text='<%# Container.DataItemIndex+1 %>'> 170
</asp:Label> 171
<asp:Label id=Label20 runat="server" Text='<%# Eval("Title","、{0}") %>'> 172
</asp:Label> 173
<asp:Label id=Label7 runat="server" Text='<%# Eval("ID") %>' Visible="False"> 174
</asp:Label> 175
</TD> 176
<TD width="15%"> 177
<asp:CheckBox id="CheckBox5" runat="server" Text="正确"></asp:CheckBox></TD> 178
</TR> 179
</TABLE> 180
</ItemTemplate> 181
</asp:TemplateField> 182
</Columns> 183
<HeaderStyle Font-Size="12pt" HorizontalAlign="Left" /> 184
</asp:GridView> 185
</td> 186
</tr> 187
<tr> 188
<td> 189
<asp:GridView ID="GridView4" runat="server" Width=100% AutoGenerateColumns="False"> 190
<Columns> 191
<asp:TemplateField HeaderText="四、填空题"> 192
<ItemTemplate> 193
<TABLE id="Table5" cellSpacing="1" cellPadding="1" width="100%" align="center" border="0"> 194
<TR> 195
<TD> 196
<asp:Label id=Label16 runat="server" Text='<%# Container.DataItemIndex+1 %>'> 197
</asp:Label> 198
<asp:Label id=Label17 runat="server" Text='<%# Eval("FrontTitle","、{0}") %>'> 199
</asp:Label> 200
<asp:TextBox id="TextBox1" runat="server" Width="100px"></asp:TextBox> 201
<asp:Label id=Label18 runat="server" Text='<%# Eval("BackTitle") %>'> 202
</asp:Label> 203
<asp:Label id=Label8 runat="server" Text='<%# Eval("ID") %>' Visible="False"> 204
</asp:Label> 205
</TD> 206
</TR> 207
</TABLE> 208
</ItemTemplate> 209
</asp:TemplateField> 210
</Columns> 211
<HeaderStyle Font-Size="12pt" HorizontalAlign="Left" /> 212
</asp:GridView> 213
</td> 214
</tr> 215
<tr> 216
<td align=center style="height: 31px"> 217
<asp:ImageButton ID="imgBtnSave" runat="server" ImageUrl="~/Images/Save.GIF" OnClick="imgBtnSave_Click" /></td> 218
</tr> 219
</table> 220
</asp:Panel> 221
</td> 222
</tr> 223
</table> 224
</div> 225
</form> 226
</body> 227
</html> 228



