📄 score.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="score.aspx.cs" Inherits="score_aspx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>成绩查询</title>
</head>
<body scroll="yes">
<form id="form1" runat="server">
<div>
<table border="0" height="100%" style="width: 700px">
<tr>
<td colspan="3" style="width: 660px; height: 18px">
姓名:<asp:TextBox ID="stName" runat="server" Width="91px"></asp:TextBox> 学号:
<asp:TextBox ID="stNo" runat="server" Width="108px"></asp:TextBox> <asp:Button ID="score" OnClick="score_Click" runat="server" Text="成绩查询" Width="141px" /> <asp:Button ID="deal" runat="server" Text="数据处理" Width="140px" OnClick="deal_Click" /></td>
</tr>
<tr>
<td colspan="3" rowspan="5" style="width: 660px">
<asp:DataGrid AutoGenerateColumns="False" Height="88px" ID="DataGrid1"
runat="server" Visible="False" Width="680px">
<AlternatingItemStyle BackColor="#99CC66" />
<ItemStyle BackColor="#66CC66" />
<HeaderStyle BackColor="#CCCCFF" />
<Columns>
<asp:BoundColumn DataField="ID" HeaderText="学号" ReadOnly="True"></asp:BoundColumn>
<asp:BoundColumn DataField="Class" HeaderText="班级"></asp:BoundColumn>
<asp:BoundColumn DataField="Name" HeaderText="姓名" ReadOnly="True"></asp:BoundColumn>
<asp:BoundColumn DataField="score" HeaderText="平均绩点"></asp:BoundColumn>
<asp:BoundColumn DataField="l1" HeaderText="课程1"></asp:BoundColumn>
<asp:BoundColumn DataField="l2" HeaderText="课程2"></asp:BoundColumn>
<asp:BoundColumn DataField="l3" HeaderText="课程3"></asp:BoundColumn>
<asp:BoundColumn DataField="l4" HeaderText="课程4"></asp:BoundColumn>
<asp:BoundColumn DataField="l5" HeaderText="课程5"></asp:BoundColumn>
<asp:BoundColumn DataField="l6" HeaderText="课程6"></asp:BoundColumn>
<asp:BoundColumn DataField="l7" HeaderText="课程7"></asp:BoundColumn>
<asp:BoundColumn DataField="l8" HeaderText="课程8"></asp:BoundColumn>
<asp:BoundColumn DataField="l9" HeaderText="课程9"></asp:BoundColumn>
<asp:BoundColumn DataField="l10" HeaderText="课程10"></asp:BoundColumn>
<asp:BoundColumn DataField="l11" HeaderText="课程11"></asp:BoundColumn>
<asp:BoundColumn DataField="l12" HeaderText="课程12"></asp:BoundColumn>
<asp:BoundColumn DataField="l13" HeaderText="课程13"></asp:BoundColumn>
<asp:BoundColumn DataField="l14" HeaderText="课程14"></asp:BoundColumn>
<asp:BoundColumn DataField="l15" HeaderText="课程15"></asp:BoundColumn>
<asp:BoundColumn DataField="l16" HeaderText="课程16"></asp:BoundColumn>
<asp:BoundColumn DataField="l17" HeaderText="课程17"></asp:BoundColumn>
<asp:BoundColumn DataField="l18" HeaderText="课程18"></asp:BoundColumn>
<asp:BoundColumn DataField="l19" HeaderText="课程19"></asp:BoundColumn>
<asp:BoundColumn DataField="l20" HeaderText="课程20"></asp:BoundColumn>
</Columns>
</asp:DataGrid>
</td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -