📄 教师评分.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="教师评分.aspx.cs" Inherits="graded" %>
<!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>
</head>
<body>
<form id="form1" runat="server">
<div>
<table style="left: 15%; width: 200px; position: absolute; top: 10%">
<tr><td>
评分
<asp:Button ID="Button2" runat="server" PostBackUrl="~/releasework.aspx" Text="发布作业" OnClick="Button2_Click" /></td><td></td></tr>
<tr>
<td colspan="2" style="height: 21px">
</td>
</tr>
<tr>
<td colspan="2" rowspan="2" style="height: 20px">
选择评分作业:<asp:GridView ID="myGridView" runat="server" AllowPaging="True" AutoGenerateColumns="False"
BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellSpacing="1"
GridLines="None" OnSelectedIndexChanged="myGridView_SelectedIndexChanged" PageSize="10">
<PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
<HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
<Columns>
<asp:BoundField DataField="作业名称" HeaderText="作业名称" />
<asp:BoundField DataField="资料名称" HeaderText="资料名称" />
<asp:CommandField HeaderText="选择" ShowSelectButton="True" />
</Columns>
<FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
<RowStyle BackColor="#DEDFDE" ForeColor="Black" />
<SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
</asp:GridView>
</td>
</tr>
<tr></tr>
<tr><td style="width: 609px; height: 21px;"></td><td style="width: 74px; height: 21px;">
</td></tr>
<tr><td style="width: 609px"></td><td style="width: 74px"></td></tr>
</table>
<table style="left: 45%; top: 10%; position: absolute; width: 303px;">
<tr><td style="width: 79px; height: 21px"></td><td style="height: 21px"></td></tr>
<tr>
<td colspan="2" style="height: 21px">
选择班级:<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
<asp:ListItem Value="1">一班</asp:ListItem>
<asp:ListItem Value="2">二班</asp:ListItem>
<asp:ListItem Value="3">三班</asp:ListItem>
<asp:ListItem Value="4">四班</asp:ListItem>
<asp:ListItem Value="5">五班</asp:ListItem>
<asp:ListItem Value="6">六班</asp:ListItem>
<asp:ListItem Value="7">七班</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td colspan="2" style="height: 21px">
选择学生:<asp:GridView ID="myGridView2" runat="server" BackColor="White" BorderColor="White" AllowPaging="True" AutoGenerateColumns="False"
BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" GridLines="None" PageSize="10" OnSelectedIndexChanged="myGridView2_SelectedIndexChanged" Width="250px">
<FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
<RowStyle BackColor="#DEDFDE" ForeColor="Black" />
<SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
<HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
<Columns>
<asp:BoundField DataField="用户名" HeaderText="学生学号" />
<asp:CommandField HeaderText="选择" ShowSelectButton="True" />
</Columns>
</asp:GridView>
</td>
</tr>
<tr><td style="width: 79px">
作业名称</td><td style="width: 225px">
<asp:TextBox ID="txtWorkName" runat="server"></asp:TextBox></td></tr>
<tr><td style="width: 79px; height: 21px">
学生学号</td><td style="width: 225px; height: 21px">
<asp:TextBox ID="txtStuNo" runat="server"></asp:TextBox></td></tr>
<tr><td style="width: 79px; height: 21px;">
分数</td><td style="width: 225px; height: 21px;">
<asp:TextBox ID="txtGrade" runat="server"></asp:TextBox></td></tr>
<tr><td style="width: 79px; height: 21px"></td><td style="width: 225px; height: 21px">
<asp:Button ID="Button1" runat="server" Text=" 评 分 " OnClick="Button1_Click" />
<asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text=" 修 改 " /></td></tr>
<tr><td style="width: 79px; height: 21px">
<asp:Label ID="lblGrade" runat="server"></asp:Label></td><td style="width: 225px; height: 21px"></td></tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -