📄 register.aspx
字号:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="register.aspx.vb" Inherits="network_course.register" %>
<!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="Visual Basic .NET 7.1">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<TABLE id="Table1" style="Z-INDEX: 102; LEFT: 16px; POSITION: absolute; TOP: 16px" cellSpacing="1"
cellPadding="1" width="500" border="0" background="..\image\bg.jpg">
<TR>
<TD style="HEIGHT: 28px"><FONT color="#3300ff"> <FONT size="5" style="FONT-SIZE: 15px"> <STRONG>欢迎加入本站,请根据提示进行注册</STRONG></FONT></FONT></TD>
</TR>
<TR>
<TD height="20">
<asp:Image id="Image1" runat="server" Height="2px" Width="908px" ImageUrl="file:///C:\Inetpub\wwwroot\中心网站\images\line.jpg"></asp:Image></TD>
</TR>
<TR>
<TD style="HEIGHT: 16px">
<P><FONT size="2" style="FONT-SIZE: 13px">注意:</FONT></P>
</TD>
</TR>
<TR>
<TD style="HEIGHT: 17px"><FONT size="2" style="FONT-SIZE: 13px">1、每个学生只能注册一次,请慎重填写!</FONT></TD>
</TR>
<TR>
<TD style="HEIGHT: 16px"><FONT face="宋体" size="2" style="FONT-SIZE: 13px">2、注册之前请先阅读
<asp:HyperLink id="HyperLink2" runat="server" NavigateUrl="course_infor.aspx" Target="_blank" Font-Size="13px">课程介绍</asp:HyperLink>。</FONT></TD>
</TR>
<TR>
<TD><FONT size="2" style="FONT-SIZE: 13px">3、带*号的项目为必填内容!</FONT> </FONT></TD>
</TR>
<TR>
<TD height="1" style="HEIGHT: 1px"><FONT face="宋体"></FONT></TD>
</TR>
<TR>
<TD style="HEIGHT: 257px">
<asp:Panel id="Panel1" runat="server" Width="823px" Height="274px">
<TABLE id="Table2" style="WIDTH: 910px; HEIGHT: 202px" height="202" width="910" border="0">
<TR>
<TD style="HEIGHT: 32px" align="right" width="123"><FONT style="FONT-SIZE: 13px" color="#000099" size="2">学号*</FONT></TD>
<TD style="WIDTH: 505px; HEIGHT: 32px" width="505">
<asp:textbox id="number" runat="server" EnableViewState="False"></asp:textbox><FONT size="2"><FONT style="FONT-SIZE: 13px" color="#3300ff">(您只可以注册一次)</FONT>
</FONT>
</TD>
<TD style="HEIGHT: 32px" width="176">
<asp:requiredfieldvalidator id="rfd1" runat="server" Font-Size="13px" display="dynamic" errormessage="必填" controltovalidate="number"></asp:requiredfieldvalidator><FONT size="2"></FONT></TD>
<TR>
<TD align="right" width="123"><FONT style="FONT-SIZE: 13px" color="#000099" size="2">真实姓名*</FONT></TD>
<TD style="WIDTH: 505px" align="left" width="505">
<asp:textbox id="realname" runat="server" EnableViewState="False"></asp:textbox><FONT style="FONT-SIZE: 13px" color="#3300ff" size="2">(检验您的身份)</FONT></TD>
<TD width="176">
<asp:requiredfieldvalidator id="rfd2" runat="server" Font-Size="13px" display="dynamic" errormessage="必填" controltovalidate="realname"></asp:requiredfieldvalidator><FONT size="2"></FONT></TD>
</TR>
<TR>
<TD align="right" width="123" height="26"><FONT style="FONT-SIZE: 13px" color="#000099" size="2">用户名*</FONT></TD>
<TD style="WIDTH: 505px" align="left" width="505" height="26">
<asp:textbox id="username" runat="server" EnableViewState="False"></asp:textbox><FONT size="2"><FONT style="FONT-SIZE: 13px" color="#3300ff">(为方便学生识别)</FONT>
</FONT>
<TD width="176" height="26">
<asp:requiredfieldvalidator id="rfd3" runat="server" Font-Size="13px" display="dynamic" errormessage="必填" controltovalidate="username"></asp:requiredfieldvalidator><FONT size="2"></FONT></TD>
</TR>
<TR>
<TD style="HEIGHT: 38px" align="right" width="123" height="38"><FONT style="FONT-SIZE: 13px" color="#000099" size="2">密码*</FONT></TD>
<TD style="WIDTH: 505px; HEIGHT: 38px" align="left" width="505" height="38">
<asp:textbox id="password1" runat="server" EnableViewState="False" textmode="password"></asp:textbox><FONT style="FONT-SIZE: 13px" color="#3300ff" size="2">(为了您的安全,密码必须在6-20位之间) </FONT></TD>
<TD style="HEIGHT: 38px" width="176" height="38">
<asp:requiredfieldvalidator id="rfd4" runat="server" Font-Size="13px" display="dynamic" errormessage="必填" controltovalidate="password1"></asp:requiredfieldvalidator><FONT face="宋体"> </FONT>
<asp:RegularExpressionValidator id="RegularExpressionValidator1" runat="server" Font-Size="13px" ValidationExpression=".{6,20}"
Display="Dynamic" ErrorMessage="密码必须在6-20位之间" ControlToValidate="password1"></asp:RegularExpressionValidator><FONT size="2"></FONT></TD>
</TR>
<TR>
<TD style="HEIGHT: 26px" align="right" width="123" height="26"><FONT style="FONT-SIZE: 13px" color="#000099" size="2">确认密码*</FONT></TD>
<TD style="WIDTH: 505px; HEIGHT: 26px" align="left" width="505" height="26">
<asp:textbox id="password2" runat="server" EnableViewState="False" textmode="password"></asp:textbox><FONT size="2"></FONT></TD>
<TD style="HEIGHT: 26px" width="176" height="26">
<asp:comparevalidator id="valid1" Font-Size="13px" display="dynamic" ErrorMessage="请输入相同密码" ControlToValidate="password1"
Runat="server" ControlToCompare="password2"></asp:comparevalidator><FONT size="2"></FONT></TD>
</TR>
<TR>
<TD style="HEIGHT: 11px" align="right" width="123" height="11"><FONT style="FONT-SIZE: 13px" color="#000099" size="2">联系电话</FONT></TD>
<TD style="WIDTH: 505px; HEIGHT: 11px" align="left" width="505" height="11">
<asp:textbox id="phone" runat="server" EnableViewState="False"></asp:textbox><FONT style="FONT-SIZE: 13px" color="#3300ff" size="2">(方便与您联系)</FONT></TD>
<TD style="HEIGHT: 11px" width="176" height="11"><FONT color="#000099" size="2"></FONT></TD>
</TR>
<TR>
<TD style="HEIGHT: 7px" align="right" width="123" height="7"><FONT style="FONT-SIZE: 13px" color="#000099" size="2">E-mail</FONT></TD>
<TD style="WIDTH: 505px; HEIGHT: 7px" align="left" width="505" height="7">
<asp:textbox id="email" runat="server" EnableViewState="False"></asp:textbox><FONT style="FONT-SIZE: 13px" color="#3300ff" size="2">(同上)</FONT></TD>
<TD style="HEIGHT: 7px" width="176" height="7"><FONT color="#000099" size="2"></FONT></TD>
</TR>
<TR>
<TD style="HEIGHT: 87px" align="right" width="123"><FONT style="FONT-SIZE: 13px" color="#000099" size="2">个人说明</FONT></TD>
<TD style="WIDTH: 505px; HEIGHT: 87px" align="left" width="505"><FONT color="#3300ff" size="2">
<P>
<asp:textbox id="memo" runat="server" Width="488px" Height="50px" EnableViewState="False"></asp:textbox></P>
<P><FONT style="FONT-SIZE: 13px" face="宋体">(最多可以有250字)</FONT></P>
</FONT>
</TD>
<TD style="HEIGHT: 87px" width="176"><SPAN id="message" runat="server"><FONT face="宋体" color="#ff0033"></FONT></SPAN></TD>
</TR>
<TR>
<TD style="HEIGHT: 21px" align="right" width="123"></TD>
<TD style="WIDTH: 505px; HEIGHT: 21px" align="left" width="505">
<asp:Button id="Button1" runat="server" Width="60px" Height="20px" Font-Size="12px" Text="提交"></asp:Button>
<asp:Button id="Button2" runat="server" Width="60px" Height="20px" Font-Size="12px" Text="重添"></asp:Button></TD>
<TD style="HEIGHT: 21px" width="176"><FONT face="宋体"></FONT></TD>
</TR>
<TR>
<TD align="right" width="123"></TD>
<TD style="WIDTH: 505px" align="left" width="505"></TD>
<TD width="176"><FONT face="宋体"></FONT></TD>
</TR>
</TABLE>
</asp:Panel>
<asp:Panel id="Panel2" runat="server" Width="328px" Visible="False" Height="20px" Font-Size="13px">注册成功!请首先进行
<asp:HyperLink id="HyperLink1" runat="server" Width="32px" Font-Size="13px" Target="_self" NavigateUrl="../login.aspx">登录</asp:HyperLink>。</asp:Panel></TD>
</TR>
<TR>
<TD>
<asp:Label id="Label1" runat="server" Width="760px" Font-Size="13px" ForeColor="Red"></asp:Label></TD>
</TR>
</TABLE>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -