📄 zhuce.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="zhuce.aspx.cs" Inherits="zhuce" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>学生注册</title>
</head>
<body>
<form id="form1" runat="server">
<div style="text-align: center">
<br />
<table style="background-image: url(igm/学生注册.jpg); width: 800px; height: 533px">
<tr>
<td colspan="4" style="vertical-align: bottom; height: 142px; text-align: center">
</td>
</tr>
<tr>
<td colspan="4" rowspan="1">
<asp:Label ID="Label10" runat="server" Font-Size="9pt" ForeColor="Red" Text="学生注册信息"></asp:Label></td>
</tr>
<tr>
<td colspan="4" rowspan="3">
<table style="width: 290px">
<tr>
<td colspan="2">
<asp:Label ID="labStuID" runat="server" Text="学生证号:" Font-Size="9pt"></asp:Label></td>
<td align="left" colspan="2" style="width: 154px">
<asp:TextBox ID="txtStuID" runat="server" Font-Size="9pt" Width="120px"></asp:TextBox></td>
<td style="width: 100px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtStuID"
ErrorMessage="学生证号不允许为空">*</asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtStuID"
ErrorMessage="学生编号为16位有效数字" ValidationExpression="^.{16}$" Width="1px"></asp:RegularExpressionValidator></td>
</tr>
<tr>
<td colspan="2">
<asp:Label ID="labStuName" runat="server" Text="学生姓名:" Font-Size="9pt"></asp:Label></td>
<td align="left" colspan="2" style="width: 154px">
<asp:TextBox ID="txtStuName" runat="server" Font-Size="9pt" Width="120px"></asp:TextBox></td>
<td style="width: 100px">
</td>
</tr>
<tr>
<td colspan="2">
<asp:Label ID="labStuPwd" runat="server" Text="密码:" Font-Size="9pt"></asp:Label></td>
<td align="left" colspan="2" style="width: 154px">
<asp:TextBox ID="txtStuPwd" runat="server" Font-Size="9pt" Width="120px" TextMode="Password"></asp:TextBox></td>
<td style="width: 100px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtStuPwd"
ErrorMessage="密码不允许为空">*</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td colspan="2">
<asp:Label ID="labStuFPwd" runat="server" Font-Size="9pt" Text="重复密码:"></asp:Label></td>
<td align="left" colspan="2" style="width: 154px">
<asp:TextBox ID="txtStuFPwd" runat="server" Width="120px" TextMode="Password"></asp:TextBox></td>
<td style="width: 100px">
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtStuPwd"
ControlToValidate="txtStuFPwd" ErrorMessage="密码不一致">*</asp:CompareValidator></td>
</tr>
<tr>
<td colspan="2">
<asp:Label ID="labQuePwd" runat="server" Text="密码问题:" Font-Size="9pt"></asp:Label></td>
<td align="left" colspan="2" style="width: 154px">
<asp:TextBox ID="txtQuePwd" runat="server" Width="145px" Font-Size="9pt"></asp:TextBox></td>
<td style="width: 100px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtQuePwd"
ErrorMessage="请输入密码提示问题">*</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td colspan="2">
<asp:Label ID="labAnsPwd" runat="server" Text="问题答案:" Font-Size="9pt"></asp:Label></td>
<td align="left" colspan="2" style="width: 154px">
<asp:TextBox ID="txtAnsPwd" runat="server" Width="145px" Font-Size="9pt"></asp:TextBox></td>
<td style="width: 100px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtAnsPwd"
ErrorMessage="请输入提示问题答案">*</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td colspan="2">
<asp:Label ID="labSex" runat="server" Text="性别:" Font-Size="9pt"></asp:Label></td>
<td align="left" colspan="2" style="width: 154px">
<asp:DropDownList ID="ddlSex" runat="server" Width="100px" Font-Size="9pt">
<asp:ListItem>男</asp:ListItem>
<asp:ListItem>女</asp:ListItem>
</asp:DropDownList></td>
<td style="width: 100px">
</td>
</tr>
<tr>
<td colspan="2">
<asp:Label ID="labProfession" runat="server" Text="所学专业:" Font-Size="9pt"></asp:Label></td>
<td align="left" colspan="2" style="width: 154px">
<asp:DropDownList ID="ddlProfession" runat="server" Width="130px" Font-Size="9pt">
</asp:DropDownList></td>
<td style="width: 100px">
</td>
</tr>
<tr>
<td style="width: 100px">
</td>
<td style="width: 100px">
</td>
<td colspan="2" style="width: 154px">
<asp:Button ID="btnDeclare" runat="server" Text="注册" Width="45px" OnClick="Button1_Click" Font-Size="9pt" />
<asp:Button ID="btnClear" runat="server" Text="重置" Width="45px" OnClick="Button2_Click" Font-Size="9pt" CausesValidation="False" />
<asp:Button ID="btnClose" runat="server" Text="关闭" OnClick="Button3_Click" Width="45px" Font-Size="9pt" CausesValidation="False" /></td>
<td style="width: 100px">
</td>
</tr>
</table>
<asp:ValidationSummary ID="ValidationSummary1" runat="server" Font-Size="9pt" ShowMessageBox="True"
ShowSummary="False" />
</td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<td style="width: 221px">
</td>
<td style="width: 100px">
</td>
<td style="width: 118px">
</td>
<td style="width: 100px">
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -