📄 classsetting.aspx
字号:
<%@ Register TagPrefix="StudentsMIS" TagName="FooterControl" Src="/Controls/FooterControl.ascx" %>
<%@ Register TagPrefix="StudentsMIS" TagName="MenuControl" Src="/Controls/MenuControl.ascx" %>
<%@ Page language="c#" Inherits="StudentsMIS.Web.OrganizationSettings.ClassSetting" CodeFile="ClassSetting.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>学生管理信息系统</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<link rel="stylesheet" type="text/css" href="/StyleSheets/StyleSheet.css">
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<StudentsMIS:MenuControl id="MenuControl1" runat="server" Operation="组织机构设置" SubOperation="班级设置"></StudentsMIS:MenuControl>
<table cellpadding="0" cellspacing="0" border="0" height="495" width="99%" bgcolor="#4791c5"
align="center" style="BORDER-RIGHT:#0c5280 1px solid; BORDER-LEFT:#629dc5 1px solid; BORDER-BOTTOM:#0c5280 1px solid">
<tr>
<td width="1%"></td>
<td width="98%" valign="top" bgcolor="#7fb7e1" height="483">
<table cellSpacing="0" cellPadding="0" border="0">
<tr>
<td width="15" height="15" rowSpan="5"></td>
<td height="20"></td>
</tr>
<tr>
<td height="30">
班级编号:<asp:dropdownlist id="ddListColleges" runat="server" AutoPostBack="True" onselectedindexchanged="ddListColleges_SelectedIndexChanged"></asp:dropdownlist>
<asp:textbox id="txtClassID" runat="server" Columns="2" MaxLength="6"></asp:textbox>(后四位)
班级名称:<asp:textbox id="txtClassName" runat="server" MaxLength="15" Width="100px"></asp:textbox>
所属专业:<asp:DropDownList id="ddListSpeciality" runat="server" AutoPostBack="True" onselectedindexchanged="ddListSpeciality_SelectedIndexChanged"></asp:DropDownList>
班主任:<asp:textbox id="txtHeadTeacher" runat="server" MaxLength="15" Width="60px"></asp:textbox>
<asp:button id="btnAddSpeciality" runat="server" Text="添加班级" onclick="btnAddSpeciality_Click"></asp:button>
</td>
</tr>
<tr>
<td height="10"></td>
</tr>
<tr>
<td>
<asp:datagrid id="dataGridClasses" runat="server" AutoGenerateColumns="False" BorderStyle="None"
GridLines="Horizontal" BorderColor="#E8E6EB" BackColor="White">
<FooterStyle BackColor="Silver"></FooterStyle>
<SelectedItemStyle BackColor="LightGreen"></SelectedItemStyle>
<EditItemStyle Height="25px"></EditItemStyle>
<AlternatingItemStyle Height="25px" BorderColor="#5F9FD4"></AlternatingItemStyle>
<ItemStyle Height="25px"></ItemStyle>
<HeaderStyle Font-Bold="True" HorizontalAlign="Center" Height="28px" BackColor="#E8E6EB"></HeaderStyle>
<Columns>
<asp:BoundColumn DataField="class_ID" ReadOnly="True" HeaderText="班级编号">
<HeaderStyle HorizontalAlign="Center" Width="60px"></HeaderStyle>
<ItemStyle Font-Names="Arial" Wrap="False" HorizontalAlign="Center" BackColor="LightYellow"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="college_name" ReadOnly="True" HeaderText="学院名称">
<HeaderStyle Width="100px"></HeaderStyle>
<ItemStyle Font-Names="Arial" Wrap="False" HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="speciality_name" HeaderText="专业名称">
<HeaderStyle Width="200px"></HeaderStyle>
<ItemStyle Wrap="False" HorizontalAlign="Center" BackColor="LightYellow"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="class_name" HeaderText="班级名称">
<HeaderStyle HorizontalAlign="Center" Width="150px"></HeaderStyle>
<ItemStyle Font-Names="Arial" Wrap="False" HorizontalAlign="Center"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="class_headTeacher" HeaderText="班主任">
<HeaderStyle Width="50px"></HeaderStyle>
<ItemStyle Wrap="False" HorizontalAlign="Center" BackColor="LightYellow"></ItemStyle>
</asp:BoundColumn>
<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="更新" HeaderText="编辑" CancelText="取消" EditText="编辑">
<HeaderStyle HorizontalAlign="Center" Width="50px"></HeaderStyle>
<ItemStyle Wrap="False" HorizontalAlign="Center"></ItemStyle>
</asp:EditCommandColumn>
<asp:ButtonColumn Text="删除" HeaderText="删除" CommandName="Delete">
<HeaderStyle HorizontalAlign="Center" Width="50px"></HeaderStyle>
<ItemStyle Wrap="False" HorizontalAlign="Center" BackColor="LightYellow"></ItemStyle>
</asp:ButtonColumn>
</Columns>
</asp:datagrid>
</td>
</tr>
</table>
</td>
<td width="1%"><FONT face="宋体"></FONT></td>
</tr>
<tr>
<td height="12"></td>
</tr>
</table>
<StudentsMIS:FooterControl id="FooterControl1" runat="server"></StudentsMIS:FooterControl>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -