📄 editstusrc.aspx
字号:
<%@ Page language="c#" Codebehind="editstusrc.aspx.cs" AutoEventWireup="false" Inherits="stuman.editstusrc" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>editstusrc</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<link href="main.css" rel="stylesheet" type="text/css">
</HEAD>
<body MS_POSITIONING="GridLayout">
<div id="main" runat="server">
<form id="Form1" method="post" runat="server">
<table cellSpacing="0" cellPadding="0" width="100%" border="0" class="main">
<tr>
<td colSpan="2">
<div align="center">选择成绩班级及类别</div>
</td>
</tr>
<tr>
<td width="25%">
<div align="center">入学日期</div>
</td>
<td><asp:dropdownlist id="Edschooldate" runat="server" CssClass="main">
<asp:ListItem Value="2002" Selected="True">2002</asp:ListItem>
<asp:ListItem Value="2003">2003</asp:ListItem>
<asp:ListItem Value="2004">2004</asp:ListItem>
<asp:ListItem Value="2005">2005</asp:ListItem>
<asp:ListItem Value="2006">2006</asp:ListItem>
</asp:dropdownlist></td>
</tr>
<tr>
<td width="25%">
<div align="center">班级</div>
</td>
<td><asp:textbox id="Edclass" runat="server" CssClass="main" BorderColor="#404040" BorderStyle="Solid"
BorderWidth="1px"></asp:textbox></td>
</tr>
<tr>
<td width="25%">
<div align="center">科目</div>
</td>
<td><asp:dropdownlist id="Edsubject" runat="server" CssClass="main" Width="64px">
<asp:ListItem Value="ch">语文</asp:ListItem>
<asp:ListItem Value="ma">数学</asp:ListItem>
<asp:ListItem Value="en">英语</asp:ListItem>
<asp:ListItem Value="so">政治</asp:ListItem>
<asp:ListItem Value="ph">物理</asp:ListItem>
<asp:ListItem Value="cm">化学</asp:ListItem>
<asp:ListItem Value="ba">生物</asp:ListItem>
<asp:ListItem Value="er">地理</asp:ListItem>
<asp:ListItem Value="hs">历史</asp:ListItem>
<asp:ListItem Value="cp">计算机</asp:ListItem>
<asp:ListItem Value="pe">体育</asp:ListItem>
</asp:dropdownlist></td>
</tr>
<tr>
<td width="25%" style="HEIGHT: 18px">
<div align="center">类别</div>
</td>
<td style="HEIGHT: 18px"><asp:dropdownlist id="Edsort" runat="server" CssClass="main" Width="64px">
<asp:ListItem Value="mid">期中</asp:ListItem>
<asp:ListItem Value="fnl">期末</asp:ListItem>
<asp:ListItem Value="nom">普通</asp:ListItem>
<asp:ListItem Value="met">会考</asp:ListItem>
</asp:dropdownlist></td>
</tr>
<tr>
<td width="25%">
<div align="center">日期</div>
</td>
<td>
<asp:Calendar id="EdDate" runat="server" SelectedDate="2004-02-24" VisibleDate="2004-02-24" CssClass="main"></asp:Calendar></td>
</tr>
<tr>
<td colSpan="2">
<div align="center"><asp:button id="btnok" runat="server" Text="确定" CssClass="main" BorderColor="#404040" BorderStyle="Solid"
BorderWidth="1px"></asp:button></div>
</td>
</tr>
</table>
</form>
</div>
<div id="edit" runat="server">
<form id="Form2" method="post" runat="server">
<table cellSpacing="0" cellPadding="0" width="100%" border="0" class="main">
<tr>
<td>
<asp:label id="lblclass" runat="server"></asp:label></td>
</tr>
<tr>
<td align="center">
<asp:datagrid id="DataGrid1" runat="server" Width="785px" HorizontalAlign="Center" CssClass="main"
GridLines="Horizontal" CellPadding="4" BackColor="White" BorderWidth="1px" CellSpacing="1"
BorderStyle="Double" BorderColor="#33CCFF" AllowSorting="True" AutoGenerateColumns="False">
<SelectedItemStyle Wrap="False" BackColor="#99CCFF"></SelectedItemStyle>
<EditItemStyle Wrap="False" BackColor="#FFFF66" BorderColor="#404040" BorderStyle="Solid" BorderWidth="1px" CssClass="main"></EditItemStyle>
<ItemStyle Wrap="False" ForeColor="#333333" BackColor="Azure"></ItemStyle>
<HeaderStyle Font-Bold="True" Wrap="False" ForeColor="White" BackColor="#33CCFF"></HeaderStyle>
<FooterStyle ForeColor="#333333" BackColor="White"></FooterStyle>
<AlternatingItemStyle Wrap="False"></AlternatingItemStyle>
<Columns>
<asp:BoundColumn DataField="stuid" ReadOnly="True" HeaderText="编号"></asp:BoundColumn>
<asp:BoundColumn DataField="name" ReadOnly="True" HeaderText="姓名"></asp:BoundColumn>
<asp:BoundColumn DataField="src" HeaderText="成绩"></asp:BoundColumn>
<asp:EditCommandColumn ButtonType="PushButton" UpdateText="更新" CancelText="取消" EditText="编辑"></asp:EditCommandColumn>
</Columns>
<PagerStyle HorizontalAlign="Center" ForeColor="White" BackColor="#336666" Mode="NumericPages"></PagerStyle>
</asp:datagrid>
<asp:Label id="Label1" runat="server"></asp:Label></td>
</tr>
<tr>
<td align="center">
<asp:button id="btnupdata" runat="server" Text="确定" CssClass="main" BorderColor="#404040" BorderStyle="Solid"
BorderWidth="1px"></asp:button></td>
</tr>
</table>
</form>
</div>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -