📄 register.aspx
字号:
<%@ Page language="c#" Codebehind="Register.aspx.cs" AutoEventWireup="false" Inherits="Hr.Register" %>
<%@ Register TagPrefix="cc1" Namespace="Hongfan.Components" Assembly="PanelEx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>招聘网站注册页面</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="css.css" type="text/css" rel="stylesheet">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Register" method="post" runat="server">
<TABLE id="Table1" style="Z-INDEX: 101; LEFT: 8px; POSITION: absolute; TOP: 8px" cellSpacing="0"
cellPadding="0" width="100%" border="0">
<TR>
<TD><FONT face="宋体"></FONT></TD>
<TD align="center">
<P> </P>
<P>
<cc1:PanelEx id="PanelEx1" MS_POSITIONING="GridLayout" style="POSITION: relative" runat="server" Width="394px" title="注册新用户">
<TABLE id="Table2" style="Z-INDEX: 101; LEFT: 32px; WIDTH: 323px; POSITION: absolute; TOP: 40px; HEIGHT: 88px"
borderColor="#cccccc" cellSpacing="0" cellPadding="0" width="323" border="0">
<TR>
<TD style="WIDTH: 90px"><FONT face="宋体">
<asp:Label id="Label1" runat="server" Width="80px" Font-Size="X-Small">用户名:</asp:Label></FONT></TD>
<TD><FONT face="宋体">
<asp:TextBox id="txtName" runat="server" Width="128px" CssClass="edline"></asp:TextBox>
<asp:requiredfieldvalidator id="Requiredfieldvalidator3" runat="server" Width="1px" Font-Size="X-Small" ErrorMessage="Please input your name!"
ControlToValidate="txtName">*</asp:requiredfieldvalidator>
<asp:RegularExpressionValidator id="RegularExpressionValidator2" runat="server" Width="2px" Font-Size="X-Small"
ErrorMessage="Plz input a valid name(The first letter must be in a-z or A-Z)!" ControlToValidate="txtName"
ValidationExpression="\D{1}\w{0,19}">*</asp:RegularExpressionValidator></FONT></TD>
<TD><FONT face="宋体"></FONT></TD>
</TR>
<TR>
<TD style="WIDTH: 90px"><FONT face="宋体">
<asp:Label id="Label2" runat="server" Width="80px" Font-Size="X-Small">密码:</asp:Label></FONT></TD>
<TD><FONT face="宋体">
<asp:TextBox id="txtPwd" runat="server" Width="128px" CssClass="edline" TextMode="Password"></asp:TextBox>
<asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" Width="1px" Font-Size="X-Small" ErrorMessage="Password need!"
ControlToValidate="txtPwd">*</asp:requiredfieldvalidator>
<asp:RegularExpressionValidator id="RegularExpressionValidator3" runat="server" Width="1px" Font-Size="X-Small"
ErrorMessage="3-32" ControlToValidate="txtPwd" ValidationExpression="\w{3,32}">*</asp:RegularExpressionValidator></FONT></TD>
<TD><FONT face="宋体"></FONT></TD>
</TR>
<TR>
<TD style="WIDTH: 90px; HEIGHT: 22px">
<asp:Label id="Label3" runat="server" Width="80px" Font-Size="X-Small">密码确认:</asp:Label></TD>
<TD style="HEIGHT: 22px">
<asp:TextBox id="txtPwd2" runat="server" Width="128px" CssClass="edline" TextMode="Password"></asp:TextBox>
<asp:requiredfieldvalidator id="Requiredfieldvalidator2" runat="server" Width="8px" Font-Size="X-Small" ErrorMessage="Need confirm password"
ControlToValidate="txtPwd">*</asp:requiredfieldvalidator>
<asp:comparevalidator id="CompareValidator1" runat="server" Height="15px" Width="1px" Font-Size="X-Small"
ErrorMessage="Two passwords must be same!" ControlToValidate="txtPwd2" ControlToCompare="txtPwd">*</asp:comparevalidator></TD>
<TD style="HEIGHT: 22px"></TD>
</TR>
<TR>
<TD style="WIDTH: 90px">
<asp:Label id="Label4" runat="server" Width="80px" Font-Size="X-Small">EMail:</asp:Label></TD>
<TD>
<asp:TextBox id="txtEmail" runat="server" Width="128px" CssClass="edline"></asp:TextBox>
<asp:requiredfieldvalidator id="Requiredfieldvalidator4" runat="server" Width="1px" Font-Size="X-Small" ErrorMessage="Need EMail!"
ControlToValidate="txtEmail">*</asp:requiredfieldvalidator>
<asp:RegularExpressionValidator id="RegularExpressionValidator1" runat="server" Font-Size="X-Small" ErrorMessage="Not a valid EMail!"
ControlToValidate="txtEmail" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator></TD>
<TD></TD>
</TR>
<TR>
<TD style="WIDTH: 90px">
<asp:RadioButtonList id="RadioButtonList1" runat="server" Height="48px" Width="105px">
<asp:ListItem text="person" value="1" selected="True">个人用户</asp:ListItem>
<asp:ListItem text="company" value="0" selected="False">企业用户</asp:ListItem>
</asp:RadioButtonList></TD>
</TR>
<TR>
<TD style="WIDTH: 141px" colSpan="3"><FONT face="宋体"></FONT><FONT face="宋体">
<asp:Label id="lblInfo" runat="server" Height="9px" Width="244px" Font-Size="X-Small" ForeColor="Red"></asp:Label></FONT></TD>
</TR>
<TR>
<TD style="WIDTH: 141px" align="center" colSpan="3">
<asp:ImageButton id="btnRegister" runat="server" ImageUrl="images/register.gif"></asp:ImageButton>
<asp:ImageButton id="btnReset" runat="server" ImageUrl="images/reset.gif"></asp:ImageButton>
<asp:HyperLink id="HyperLink1" runat="server" Width="42px" Font-Size="X-Small" Visible="False"
NavigateUrl="Default.aspx" Target="_top">返回</asp:HyperLink>
<asp:ValidationSummary id="ValidationSummary1" runat="server" Height="24px" Width="272px" ShowSummary="False"
ShowMessageBox="True"></asp:ValidationSummary></TD>
</TR>
</TABLE>
</cc1:PanelEx></P>
</TD>
<TD><FONT face="宋体"></FONT></TD>
</TR>
</TABLE>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -