📄 seeresult.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="seeResult.aspx.cs" Inherits="seeResult" ValidateRequest="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>查看答案</title>
<link href="css/child.css" rel="stylesheet" type="text/css" />
</head>
<body >
<form id="Form1" method="post" runat="server">
<table width="1000" border="0">
<tr>
<td width="1000px" height="164px">
<img src="image/banner.jpg" alt="" style="width: 1000px; height: 164px" /></td>
</tr>
<tr>
<td align="center" height="300">
<table width="1000" align="center" border="1">
<tr>
<td align="center" colSpan="2"><font face="宋体" size="30">查看《<asp:label id="lbl_courseName" runat="server" ForeColor="Black" Font-Bold="True" Height="30px"></asp:label>》考试结果</font></td>
</tr>
<tr>
<td style="HEIGHT: 25px"><font face="宋体"><span style="font-size: 15pt">考试题分为单选、多选、填空、判断</span></font></td>
<td style="HEIGHT: 25px">
<asp:Button ID="Button1" runat="server" Font-Size="13pt" OnClick="Button1_Click"
Text="返回" /></td>
</tr>
<tr align="center">
<td colspan="2" height="600">
<table style="width: 682px; height: 1px" cellpadding="0" cellspacing="0">
<tr>
<td style="width: 100px; height: 23px;">
<span style="font-size: 13pt">
考生考号: </span></td>
<td style="width: 100px; height: 23px;">
<span style="font-family: 宋体">
<asp:label id="lbl_stuId" runat="server" ForeColor="Red" Font-Size="13pt"></asp:label></span></td>
<td style="width: 100px; height: 23px;">
<span style="font-family: 宋体; font-size: 13pt;">考生姓名:</span></td>
<td style="width: 100px; height: 23px;">
<asp:label id="lbl_stuName" runat="server" ForeColor="Red" Font-Size="13pt"></asp:label></td>
<td style="width: 100px; height: 23px;">
</td>
</tr>
<tr align=center>
<td colspan="6" style=" width: 713px;">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
Width="685px">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<table style="width: 545px">
<tr>
<td colspan="3">
<asp:Label ID="Label2" runat="server" Text="<%# Container.DataItemIndex+1 %>" Font-Size="13pt"></asp:Label>
<asp:Label ID="Label3" runat="server" Text='<%# Eval("testContent","、{0}") %>' Font-Size="13pt"></asp:Label>
<asp:Label ID="Label4" runat="server" Text='<%# Eval("rightAns") %>' ForeColor="Red" Visible="False" Font-Size="13pt"></asp:Label>
<asp:Label ID="Label31" runat="server" Text='<%# Eval("testScore") %>' Visible="False" Font-Size="13pt"></asp:Label></td>
</tr>
<tr>
<td colspan="1" style="width: 332px; text-align: left">
<asp:RadioButton ID="RadioButton1" runat="server" GroupName="S1" Text='A:' Font-Size="13pt" />
<asp:Label ID="Label6" runat="server" Text='<%# Eval("testAns1") %>' Font-Size="13pt"></asp:Label></td>
<td colspan="3" style="text-align: left; width: 279px;">
<asp:RadioButton ID="RadioButton2" runat="server" GroupName="S1" Text='B:' Font-Size="13pt" />
<asp:Label ID="Label7" runat="server" Text='<%# Eval("testAns2") %>' Font-Size="13pt"></asp:Label></td>
</tr>
<tr>
<td colspan="1" style="text-align: left; width: 332px;">
<asp:RadioButton ID="RadioButton3" runat="server" GroupName="S1" Text='C:' Font-Size="13pt" />
<asp:Label ID="Label8" runat="server" Text='<%# Eval("testAns3") %>' Font-Size="13pt"></asp:Label></td>
<td colspan="3" style="text-align: left; width: 279px;">
<asp:RadioButton ID="RadioButton4" runat="server" GroupName="S1" Text='D:' Font-Size="13pt" />
<asp:Label ID="Label9" runat="server" Text='<%# Eval("testAns4") %>' Font-Size="13pt"></asp:Label></td>
</tr>
</table>
</ItemTemplate>
<HeaderTemplate>
<asp:Label ID="Label36" runat="server" Text="一、单选题(每题" Font-Size="13pt"></asp:Label>
<asp:Label ID="Label5" runat="server" Text='<%# Eval("testScore") %>' Font-Size="13pt"></asp:Label>
<asp:Label ID="Label37" runat="server" Text="分)" Font-Size="13pt"></asp:Label>
</HeaderTemplate>
</asp:TemplateField>
</Columns>
<RowStyle HorizontalAlign="Left" />
<PagerStyle HorizontalAlign="Left" />
<HeaderStyle HorizontalAlign="Left" />
</asp:GridView>
</td>
</tr>
<tr>
<td colspan="6" style="height: 443px; width: 713px;">
<asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False"
Width="687px" HorizontalAlign="Left">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<table style="width: 576px;">
<tr>
<td colspan="3" style="width: 304px">
<asp:Label ID="Label14" runat="server" Text="<%# Container.DataItemIndex+1 %>" Font-Size="13pt"></asp:Label>
<asp:Label ID="Label15" runat="server" Text='<%# Eval("testContent","、{0}") %>' Font-Size="13pt"></asp:Label>
<asp:Label ID="Label16" runat="server" Text='<%# Eval("rightAns") %>' ForeColor="Red" Visible="False" Font-Size="13pt"></asp:Label>
<asp:Label ID="Label32" runat="server" Text='<%# Eval("testScore") %>' Visible="False" Font-Size="13pt"></asp:Label></td>
</tr>
<tr>
<td colspan="1" style="width: 266px;">
<asp:CheckBox ID="CheckBox1" runat="server" Text="A:" Font-Size="13pt" />
<asp:Label ID="Label17" runat="server" Text='<%# Eval("testAns1") %>' Font-Size="13pt"></asp:Label></td>
<td colspan="3" style="width: 310px;">
<asp:CheckBox ID="CheckBox3" runat="server" Text="B:" Font-Size="13pt" />
<asp:Label ID="Label18" runat="server" Text='<%# Eval("testAns2") %>' Font-Size="13pt"></asp:Label></td>
</tr>
<tr>
<td colspan="1" style="width: 266px">
<asp:CheckBox ID="CheckBox2" runat="server" Text="C:" Font-Size="13pt" />
<asp:Label ID="Label19" runat="server" Text='<%# Eval("testAns3") %>' Font-Size="13pt"></asp:Label></td>
<td colspan="4">
<asp:CheckBox ID="CheckBox4" runat="server" Text="D:" Font-Size="13pt" />
<asp:Label ID="Label20" runat="server" Text='<%# Eval("testAns4") %>' Font-Size="13pt"></asp:Label></td>
</tr>
</table>
</ItemTemplate>
<HeaderTemplate>
<asp:Label ID="Label37" runat="server" Text=" 二、多选题(每题" Font-Size="13pt"></asp:Label>
<asp:Label ID="Label10" runat="server" Font-Size="13pt"></asp:Label><span style="font-size: 13pt">分)
</span>
</HeaderTemplate>
</asp:TemplateField>
</Columns>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -