📄 add_newstudent.aspx
字号:
<%@ Page language="c#" Codebehind="add_newstudent.aspx.cs" AutoEventWireup="false" Inherits="StudentScroeQuery.Admin.add_newstudent" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>add_newstudent</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">
</HEAD>
<body MS_POSITIONING="GridLayout" bgcolor="d9dfc3">
<form id="Form1" method="post" runat="server">
<TABLE id="Table1" style="Z-INDEX: 101; LEFT: 8px; POSITION: absolute; TOP: 8px" width="500"
align="center" border="1">
<CAPTION>
<SPAN class="STYLE1"><FONT size="4">添加学生信息</FONT></SPAN>
</CAPTION>
<TR>
<TD align="center" width="150">学号:</TD>
<TD width="350">
<asp:TextBox id="txtnum" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="必填内容" ControlToValidate="txtnum">*</asp:RequiredFieldValidator>
<asp:RegularExpressionValidator id="RegularExpressionValidator1" runat="server" ErrorMessage="学号只能为8位数字" ControlToValidate="txtnum"
ValidationExpression="\d{8}"></asp:RegularExpressionValidator><FONT face="宋体" color="#ff0066"></FONT></TD>
</TR>
<TR>
<TD style="HEIGHT: 29px" align="center" width="150">姓名:</TD>
<TD style="HEIGHT: 29px" width="350">
<asp:TextBox id="txtname" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ErrorMessage="必填内容" ControlToValidate="txtname">*</asp:RequiredFieldValidator><FONT face="宋体"></FONT></TD>
</TR>
<TR>
<TD style="HEIGHT: 45px" align="center" width="150">性别:</TD>
<TD style="HEIGHT: 45px" width="350">
<asp:RadioButtonList id="RadioButtonList1" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Value="男" Selected="True">男</asp:ListItem>
<asp:ListItem Value="女">女</asp:ListItem>
</asp:RadioButtonList></TD>
</TR>
<TR>
<TD align="center">民族:</TD>
<TD>
<asp:TextBox id="txtnation" runat="server"></asp:TextBox></TD>
</TR>
<TR>
<TD style="HEIGHT: 30px" align="center">出生日期:</TD>
<TD style="HEIGHT: 30px"> <FRAMESET>
<asp:DropDownList id="drpyear" runat="server" DESIGNTIMEDRAGDROP="333" AutoPostBack="True"></asp:DropDownList>
<asp:DropDownList id="drpmonth" runat="server" DESIGNTIMEDRAGDROP="333" AutoPostBack="True"></asp:DropDownList>
<asp:DropDownList id="drpday" runat="server" DESIGNTIMEDRAGDROP="333"></asp:DropDownList><FRAME name="top" src="top.htm" scrolling="no" noresize><FRAME name="left" src="menulist.aspx" scrolling="auto"><FRAME name="main" src="update_notice.aspx" scrolling="auto" noresize></FRAMESET></FRAMESET><FRAME name="top" src="top.htm" scrolling="no" noresize><FRAME name="left" src="menulist.aspx" scrolling="auto"><FRAME name="main" src="update_notice.aspx" scrolling="auto" noresize></FRAMESET></FRAMESET></TD>
</TR>
<TR>
<TD align="center">家庭所在地:</TD>
<TD>
<asp:TextBox id="txtaddress" runat="server"></asp:TextBox></TD>
</TR>
<TR>
<TD align="center">密码提示问题:</TD>
<TD>
<asp:TextBox id="txtquestion" runat="server"></asp:TextBox></TD>
</TR>
<TR>
<TD align="center">密码答案:</TD>
<TD>
<asp:TextBox id="txtanswer" runat="server"></asp:TextBox></TD>
</TR>
<TR>
<TD align="center">邮箱:</TD>
<TD>
<asp:TextBox id="txtemail" runat="server"></asp:TextBox>
<asp:RegularExpressionValidator id="RegularExpressionValidator2" runat="server" ErrorMessage="如:aa@sina.com.cn"
ControlToValidate="txtemail" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></TD>
</TR>
<TR>
<TD style="HEIGHT: 87px" align="center"><FONT face="宋体">备注:</FONT></TD>
<TD style="HEIGHT: 87px">
<asp:TextBox id="TextBox1" runat="server" Height="102px" TextMode="MultiLine" Width="344px"></asp:TextBox></TD>
</TR>
<TR>
<TD align="center" colSpan="2">
<asp:Label id="labmsg" runat="server"></asp:Label></TD>
</TR>
<TR>
<TD align="center" colSpan="2">
<asp:Button id="Button1" runat="server" Text="添加"></asp:Button><LABEL><INPUT type="reset" value="重置" name="Submit">
</LABEL>
</TD>
</TR>
</TABLE>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -