📄 register.aspx
字号:
<%@ Page language="c#" CodeFile="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>Register</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="ioffice.css" type="text/css" rel="stylesheet">
</HEAD>
<body>
<form id="form1" 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" style="POSITION: relative; HEIGHT: 216px" runat="server" Width="370px" title="Register new user" Height="213px">
<TABLE id="Table2" style="Z-INDEX: 101; LEFT: 10px; WIDTH: 323px; POSITION: absolute; TOP: 42px; HEIGHT: 88px" borderColor="#cccccc" cellSpacing="0" cellPadding="0" width="250" border="0">
<TR>
<TD style="WIDTH: 120px" align="right"><FONT face="宋体">
<asp:Label id="Label1" runat="server" Width="133px">用户名:</asp:Label></FONT></TD>
<TD><FONT face="宋体">
<asp:TextBox id="txtName" runat="server" 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: 120px" align="right"><FONT face="宋体">
<asp:Label id="Label2" runat="server" Width="133px">密码:</asp:Label></FONT></TD>
<TD><FONT face="宋体">
<asp:TextBox id="txtPwd" runat="server" 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: 120px" align="right">
<asp:Label id="Label3" runat="server" Width="127px" Font-Size="X-Small">确认密码:</asp:Label></TD>
<TD>
<asp:TextBox id="txtPwd2" runat="server" CssClass="edline" TextMode="Password"></asp:TextBox>
<asp:requiredfieldvalidator id="Requiredfieldvalidator2" runat="server" Width="1px" 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></TD>
</TR>
<TR>
<TD style="WIDTH: 120px" align="right">
<asp:Label id="Label4" runat="server" Width="127px" Font-Size="X-Small">电子邮件:</asp:Label></TD>
<TD>
<asp:TextBox id="txtEmail" runat="server" 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 align="center" height="40px" colSpan="3">
<asp:RadioButtonList id="RadioButtonList1" runat="server" RepeatDirection="Horizontal">
<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 align="center" colSpan="3">
<asp:HyperLink id="HyperLink1" runat="server" Width="42px" Font-Size="X-Small" Visible="False" NavigateUrl="Default.aspx" Target="_top">Home</asp:HyperLink>
<asp:ImageButton id="btnRegister" runat="server" ImageUrl="Img/register1.gif"></asp:ImageButton>
<asp:ImageButton id="btnReset" runat="server" ImageUrl="Img/reset.gif"></asp:ImageButton></TD>
</TR>
</TABLE>
</cc1:PanelEx></P>
</TD>
<TD><FONT face="宋体"></FONT></TD>
</TR>
</TABLE>
<asp:ValidationSummary id="ValidationSummary1" style="Z-INDEX: 102; LEFT: 249px; POSITION: absolute; TOP: 291px" runat="server" ShowMessageBox="True" ShowSummary="False"></asp:ValidationSummary>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -