⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 st_addstudent.aspx

📁 学生管理系统(asp.net+sql server)
💻 ASPX
字号:
<%@ Register TagPrefix="uc1" TagName="st_navigate" Src="ST_COMMAN/st_navigate.ascx" %>
<%@ Page language="c#" Codebehind="ST_addstudent.aspx.cs" AutoEventWireup="false" Inherits="STGROUP.ST_addstudent" %>
<%@ Register TagPrefix="uc1" TagName="st_header" Src="ST_COMMAN/st_header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="st_bottom" Src="ST_COMMAN/st_bottom.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>ST_addstudent</title>
		<meta content="Microsoft Visual Studio 7.0" 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="ST_COMMAN/style.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body>
		<form id="addstudent" action="student.aspx" method="post" runat="server">
			<uc1:st_header id="St_header1" runat="server"></uc1:st_header>
			<table width="777" border="0" cellspacing="0" cellpadding="0" align="center">
				<tr>
					<td width="15%" vAlign="top">
						<uc1:st_navigate id="St_navigate1" runat="server"></uc1:st_navigate></td>
					<td><TABLE id="Table1" cellSpacing="1" cellPadding="1" width="100%" align="center" border="0">
							<TR>
								<TD colspan="3">
									<P align="center"><STRONG>添加学生信息</STRONG></P>
								</TD>
							</TR>
							<TR>
								<TD style="WIDTH: 185px">
									<P align="right"><STRONG>学号:</STRONG></P>
								</TD>
								<TD><asp:textbox id="st_tbx_id" width="100px" runat="server"></asp:textbox></TD>
								<TD><FONT face="宋体">*
										<asp:customvalidator id="st_cv_id" OnServerValidate="st_cv_id_ServerValidate" runat="server" ControlToValidate="st_tbx_id"
											ErrorMessage="学生已存在"></asp:customvalidator><asp:requiredfieldvalidator id="st_rfv_id" runat="server" ControlToValidate="st_tbx_id" ErrorMessage="不为空"></asp:requiredfieldvalidator></FONT></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 185px">
									<P align="right"><STRONG>姓名:</STRONG></P>
								</TD>
								<TD><asp:textbox id="st_tbx_name" width="100px" runat="server"></asp:textbox></TD>
								<TD>*
									<asp:requiredfieldvalidator id="st_rfv_name" runat="server" ControlToValidate="st_tbx_name" ErrorMessage="不为空"></asp:requiredfieldvalidator></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 185px">
									<P align="right"><STRONG>性别:</STRONG></P>
								</TD>
								<TD><asp:dropdownlist id="st_ddl_sex" runat="server">
										<asp:ListItem Value="男">男</asp:ListItem>
										<asp:ListItem Value="女">女</asp:ListItem>
									</asp:dropdownlist></TD>
								<TD>*</TD>
							</TR>
							<TR>
								<TD style="WIDTH: 185px">
									<P align="right"><STRONG>民族:</STRONG></P>
								</TD>
								<TD><asp:textbox id="st_tbx_nation" width="100px" runat="server"></asp:textbox></TD>
								<TD>*
									<asp:requiredfieldvalidator id="st_rfv_nation" runat="server" ControlToValidate="st_tbx_nation" ErrorMessage="不为空"></asp:requiredfieldvalidator></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 185px">
									<P align="right"><EM>&nbsp;</EM><STRONG>生日:</STRONG></P>
								</TD>
								<TD><asp:textbox id="st_tbx_birthst_day" width="100px" runat="server"></asp:textbox></TD>
								<TD>*
									<asp:requiredfieldvalidator id="st_rfv_birthst_day" runat="server" ControlToValidate="st_tbx_birthst_day" ErrorMessage="不为空"></asp:requiredfieldvalidator></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 185px">
									<P align="right"><STRONG>入学时间:</STRONG></P>
								</TD>
								<TD><asp:textbox id="st_tbx_time" width="100px" runat="server"></asp:textbox></TD>
								<TD>*
									<asp:requiredfieldvalidator id="st_rfv_time" runat="server" ControlToValidate="st_tbx_time" ErrorMessage="不为空"></asp:requiredfieldvalidator></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 185px">
									<P align="right"><STRONG>班级:</STRONG></P>
								</TD>
								<TD><asp:dropdownlist id="st_ddl_class" runat="server"></asp:dropdownlist></TD>
								<TD>*
									<asp:requiredfieldvalidator id="st_rfv_class" runat="server" ControlToValidate="st_ddl_class" ErrorMessage="不为空"></asp:requiredfieldvalidator></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 185px">
									<P align="right"><STRONG>籍贯:</STRONG></P>
								</TD>
								<TD><asp:textbox id="st_tbx_home" width="100px" runat="server"></asp:textbox></TD>
								<TD>*
									<asp:requiredfieldvalidator id="st_rfv_home" runat="server" ControlToValidate="st_tbx_home" ErrorMessage="不为空"></asp:requiredfieldvalidator></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 185px">
									<P align="right"><FONT face="宋体"><STRONG>备注:</STRONG></FONT></P>
								</TD>
								<TD colSpan="2"><asp:textbox id="st_tbx_else" runat="server" TextMode="MultiLine" Width="223px" Height="62px"></asp:textbox></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 185px"><FONT face="宋体" color="#0066ff" size="2"></FONT></TD>
								<TD colSpan="2">&nbsp;&nbsp;&nbsp;&nbsp;<FONT face="宋体" color="#ff3333" size="2">附:带*的项为必填项</FONT>
								</TD>
							</TR>
							<TR>
								<TD style="WIDTH: 185px"><FONT face="宋体" color="#0066ff" size="2"></FONT></TD>
								<TD colSpan="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:button id="st_btn_ok" runat="server" Text="确定"></asp:button>
									<asp:button id="st_btn_reset" runat="server" Text="重置"></asp:button>&nbsp;<asp:label id="st_lbl_note" runat="server"></asp:label></TD>
							</TR>
							<TR>
								<TD colSpan="3">
									<P align="center"><a href="ST_student.aspx"> 返回</a></P>
								</TD>
							</TR>
						</TABLE>
					</td>
				</tr>
			</table>
			<uc1:st_bottom id="St_bottom1" runat="server"></uc1:st_bottom>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -