⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 register.aspx

📁 ASP。NET免费毕业论文设计:ASP[1].NET网络书店(C_,全源码提供) 采用C#语言编写
💻 ASPX
字号:
<%@ Page language="c#" Codebehind="Register.aspx.cs" AutoEventWireup="false" Inherits="BookShop.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 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="middle">
						<P>&nbsp;</P>
						<P>
							<cc1:PanelEx id="PanelEx1" MS_POSITIONING="GridLayout" style="POSITION: relative; HEIGHT: 216px" runat="server" Width="394px" title="Register new user" Height="213px">
								<TABLE id="Table2" style="Z-INDEX: 101; LEFT: 37px; WIDTH: 323px; POSITION: absolute; TOP: 42px; HEIGHT: 88px" borderColor="#cccccc" cellSpacing="0" cellPadding="0" width="323" border="0">
									<TR>
										<TD style="WIDTH: 141px"><FONT face="宋体">
												<asp:Label id="Label1" runat="server" Width="133px" Font-Size="X-Small">Name:</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: 141px"><FONT face="宋体">
												<asp:Label id="Label2" runat="server" Width="133px" Font-Size="X-Small">Password:</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: 141px">
											<asp:Label id="Label3" runat="server" Width="127px" Font-Size="X-Small">Confirm Password:</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: 141px">
											<asp:Label id="Label4" runat="server" Width="127px" Font-Size="X-Small">EMail:</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 style="WIDTH: 141px"><FONT face="宋体">
												<asp:Label id="Label5" runat="server" Width="127px" Font-Size="X-Small">City:</asp:Label></FONT></TD>
										<TD><FONT face="宋体">
												<asp:TextBox id="txtCity" runat="server" CssClass="edline"></asp:TextBox></FONT></TD>
										<TD></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="middle" 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/register.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 + -