📄 check_set_score.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Check_Set_Score.aspx.cs" Inherits="Teacher_Check_Set_Score" %>
<!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">
<link href="Style\css.css" rel="stylesheet"
type="text/css" />
<title>确认评分</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<div id="HC" style="width: 795px; height: 105px">
<table border="0" cellpadding="0" cellspacing="0" style="width: 789px; height: 104px" >
<tr>
<td align="center" style="width: 747px" >
<div class="HC1">
评阅试卷:</div>
<div class="HC3">
<ul class="FS12">
</ul>
科目:<asp:DropDownList ID="Subject" runat="server" DataSourceID="ObjectDataSource1" DataTextField="SubjectName" DataValueField="SubjectID">
</asp:DropDownList>
项目 <asp:DropDownList ID="TopicType"
runat="server">
<asp:ListItem Value="0">填空题</asp:ListItem>
<asp:ListItem Value="1">简答题</asp:ListItem>
<asp:ListItem Value="2">问答题</asp:ListItem>
</asp:DropDownList>
<asp:Button ID="Ok" runat="server"
CssClass="subbutton" OnClick="Ok_Click" Text="确认" Width="62px" />
<asp:Button ID="Resub" runat="server" Text="重置" Width="53px" CssClass="subbutton" OnClick="Resub_Click" />
(为了您的方便,已经按把相同的题列为一组)<!--Comments End --></div>
</td>
</tr>
</table>
</div>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetSubjectForTeacher" TypeName="BLL.Subject">
<SelectParameters>
<asp:SessionParameter Name="TeacherID" SessionField="TeacherID" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<br />
<br />
<div id="Div1" style="width: 757px; height: 426px">
<table border="0" cellpadding="0" cellspacing="0" style="width: 754px; height: 448px" >
<tr>
<td align="center" >
<div class="HC1">
试卷审分:</div>
<div class="HC3">
<br /><table border="0" cellpadding="0" cellspacing="0" style="height: 351px; width: 907px;" >
<tr>
<td align="center" style="height: 372px">
<br />
<asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
<ProgressTemplate>
<img src="Images\load.gif" />
</ProgressTemplate>
</asp:UpdateProgress>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:GridView ID="DataInfo" runat="server"
AutoGenerateColumns="False" Width="873px"
DataKeyNames="ID" Height="28px" AllowPaging="True"
GridLines="Vertical" PageSize="15" OnRowEditing="DataInfo_RowEditing"
OnRowCancelingEdit="DataInfo_RowCancelingEdit" OnRowUpdating="DataInfo_RowUpdating">
<Columns>
<asp:TemplateField HeaderText="选取">
<ItemTemplate>
<asp:CheckBox ID="CheckBox1" runat="server" BorderColor="#003399" BorderWidth="1px" />
</ItemTemplate>
<ItemStyle Width="40px" />
</asp:TemplateField>
<asp:BoundField DataField="TopicID" HeaderText="记录编号" ReadOnly="True" >
<ItemStyle Width="90px" />
</asp:BoundField>
<asp:BoundField HeaderText="标准答案" DataField="Keys" ReadOnly="True" />
<asp:BoundField HeaderText="学生答案" DataField ="UserAnswer" ReadOnly="True" >
<ItemStyle Width="280px" />
</asp:BoundField>
<asp:TemplateField HeaderText="给分">
<EditItemTemplate>
<asp:TextBox ID="getscore" Width=30px runat="server"></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label1" Width=20px runat="server" Text='<%# Bind("GetScore") %>'></asp:Label>
</ItemTemplate>
<ItemStyle Width="50px" />
</asp:TemplateField>
</Columns>
<RowStyle ForeColor="#003399" />
<HeaderStyle BackColor="#003399" ForeColor="White" />
<AlternatingRowStyle BackColor="#EFEFFF" BorderColor="#003399" />
</asp:GridView>
<br />
<asp:CheckBox ID="selectAll" runat="server" AutoPostBack="True" Height="19px" OnCheckedChanged="selectAll_CheckedChanged"
Text="全选 / 全不选" Width="113px" /> <asp:Button ID="delete" runat="server" CssClass="subbutton"
Height="23px" OnClick="delete_Click" Text="确认提交选中" Width="131px" /> <asp:Button ID="Back" runat="server" CssClass="subbutton" Text="提交返回处理" OnClick="Back_Click" />
还有
<asp:Label ID="totalNumber" runat="server" Font-Bold="False" Font-Italic="False"
ForeColor="Red" Text="0"></asp:Label>
项
</ContentTemplate>
</asp:UpdatePanel>
<br />
</td>
</tr>
</table>
<br />
<br />
<br />
<br />
<br />
<br />
<ul class="FS12">
</ul>
</div>
</td>
</tr>
</table>
</div>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -