📄 register.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="Register" %>
<!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 bgcolor="white">
<form id="form1" runat="server">
<div style="border-top-width: thin; padding-right: 0px; padding-left: 0px; border-left-width: thin; border-left-color: #ff0000; border-bottom-width: thin; border-bottom-color: #ff0000; padding-bottom: 0px; margin: 0px; border-top-color: #ff0000; padding-top: 0px; border-right-width: thin; border-right-color: #ff0000">
<table style="width: 1180px; height: 105px">
<tr>
<td style="width: 19px; height: 13px">
</td>
<td style="width: 164px; height: 13px;">
</td>
<td style="width: 63px; vertical-align: text-bottom; height: 13px; text-align: left;">
<asp:Image ID="Image1" runat="server" ImageUrl="~/image/logo.JPG" /></td>
<td style="vertical-align: text-bottom; width: 295px; height: 13px; text-align: left">
<asp:ImageMap ID="ImageMap2" runat="server" Height="27px" HotSpotMode="Navigate"
ImageUrl="~/image/menu1.jpg" Style="vertical-align: text-top" Width="285px">
<asp:RectangleHotSpot Bottom="25" HotSpotMode="Navigate" Left="17" NavigateUrl="~/Default.aspx"
Right="70" Top="5" />
<asp:RectangleHotSpot Bottom="25" HotSpotMode="Navigate" Left="100" NavigateUrl="~/Search.aspx"
Right="170" Top="5" />
<asp:RectangleHotSpot Bottom="25" HotSpotMode="Navigate" Left="205" NavigateUrl="~/ShoppingCar.aspx"
Right="265" Top="5" />
</asp:ImageMap></td>
<td style="width: 698px; vertical-align: text-bottom; height: 13px; text-align: right;">
<asp:Menu ID="Menu1" runat="server" BackColor="#FFFBD6" Font-Names="Verdana" Font-Size="Small"
ForeColor="#990000" Height="21px" Orientation="Horizontal" Width="303px">
<StaticSelectedStyle BackColor="#FFCC66" />
<Items>
<asp:MenuItem ImageUrl="~/image/p_gwc.gif" NavigateUrl="~/ShoppingCar.aspx" SeparatorImageUrl="~/image/bj_line.gif"
Text="购物车" Value="购物车"></asp:MenuItem>
<asp:MenuItem SeparatorImageUrl="~/image/bj_line.gif" Text="我的帐户" Value="用户信息"></asp:MenuItem>
<asp:MenuItem NavigateUrl="~/Register.aspx" SeparatorImageUrl="~/image/bj_line.gif"
Text="新帐户注册" Value="新帐户注册"></asp:MenuItem>
<asp:MenuItem NavigateUrl="~/help.aspx" SeparatorImageUrl="~/image/bj_line.gif" Text="帮助中心"
Value="帮助中心"></asp:MenuItem>
<asp:MenuItem NavigateUrl="~/quite.aspx" SeparatorImageUrl="~/image/bj_line.gif"
Text="退出" Value="退出"></asp:MenuItem>
</Items>
</asp:Menu>
</td>
</tr>
<tr>
<td colspan="1" style="vertical-align: text-top; height: 5px; text-align: center">
</td>
<td colspan="4" style="vertical-align: text-top; height: 5px; text-align: center">
<asp:Image ID="Image2" runat="server" Height="3px" ImageUrl="~/image/line.bmp"
Width="951px" /></td>
</tr>
</table>
<br />
<br />
<table style="width: 1178px; height: 294px">
<tr>
<td colspan="1" style="width: 93px; clip: rect(auto 5px auto auto); color: teal;
direction: ltr; height: 15px; text-align: right">
</td>
<td colspan="1" style="width: 96px; clip: rect(auto 5px auto auto); color: teal; direction: ltr;
height: 15px; text-align: right">
</td>
<td colspan="2" style="clip: rect(auto 5px auto auto); color: teal; direction: ltr;
height: 15px; text-align: right; width: 99px;">
</td>
<td colspan="2" rowspan="1" style="font-size: smaller; width: 42px; color: teal;
font-family: 宋体; height: 15px">
</td>
<td rowspan="1" style="font-size: smaller; width: 310px; color: teal; font-family: 宋体;
height: 15px">
</td>
<td rowspan="11" style="font-size: smaller; width: 94px; color: teal; font-family: 宋体">
</td>
</tr>
<tr>
<td colspan="1" style="width: 93px; clip: rect(auto 5px auto auto); color: teal;
direction: ltr; height: 25px; text-align: right">
</td>
<td colspan="1" style="width: 96px; clip: rect(auto 5px auto auto); color: teal; direction: ltr; text-align: center; vertical-align: text-top;" rowspan="10">
<asp:Image ID="Image3" runat="server" ImageUrl="~/image/login.bmp" /></td>
<td colspan="5" style="font-weight: bold; clip: rect(auto 5px auto auto); color: white;
direction: ltr; height: 25px; background-color: #507cd1; text-align: center">
新用户注册</td>
</tr>
<tr>
<td colspan="1" style="width: 93px; clip: rect(auto 5px auto auto); color: teal;
direction: ltr; height: 20px; text-align: right">
</td>
<td colspan="2" rowspan="2" style="font-size: smaller; clip: rect(auto 5px auto auto);
color: teal; direction: ltr; background-color: #e3eaeb; text-align: right; width: 99px; border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none;">
<br />
用户名:</td>
<td colspan="2" rowspan="2" style="font-size: smaller; width: 42px; color: teal;
font-family: 宋体; background-color: #e3eaeb">
<asp:TextBox ID="tbUsername" runat="server" Height="17px" Width="174px"></asp:TextBox><br />
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="用户名称不能为空" ControlToValidate="tbUsername" Height="15px" Width="104px"></asp:RequiredFieldValidator></td>
<td rowspan="2" style="font-size: smaller; width: 310px; color: teal; font-family: 宋体; background-color: #e3eaeb;">
5-20个字符(包括小写字母、数字、下划线、中文),<br />
一个汉字为两个字符,一旦注册成功会员名不能修<br />
改。<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="tbUsername"
ErrorMessage="请输入5-20个字符" ValidationExpression=".{5,20}" Width="106px"></asp:RegularExpressionValidator></td>
</tr>
<tr>
<td colspan="1" style="width: 93px; clip: rect(auto 5px auto auto); color: teal;
direction: ltr; height: 5px; text-align: right">
</td>
</tr>
<tr>
<td colspan="1" style="width: 93px; clip: rect(auto 5px auto auto); color: teal;
direction: ltr; height: 20px; text-align: right">
</td>
<td colspan="2" rowspan="2" style="font-size: smaller; clip: rect(auto 5px auto auto);
color: teal; direction: ltr; background-color: #e3eaeb; text-align: right; width: 99px;">
密码:<br />
</td>
<td colspan="2" rowspan="2" style="font-size: smaller; color: teal; font-family: 宋体; width: 42px; background-color: #e3eaeb;">
<asp:TextBox ID="tbPassword" runat="server" Height="17px" Width="176px" TextMode="Password"></asp:TextBox> <br />
<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="请输入6-16个字符" ControlToValidate="tbPassword" ValidationExpression=".{6,16}" Height="1px" Width="110px"></asp:RegularExpressionValidator></td>
<td rowspan="2" style="font-size: smaller; width: 310px; color: teal; font-family: 宋体; background-color: #e3eaeb;">
密码由6-16个字符组成,请使用英文字母加数字或符<br />
号的组合密码,不推荐单独使用英文字母、数字或符<br />
号作为您的密码。<asp:RequiredFieldValidator ID="RequiredFieldValidator2"
runat="server" ControlToValidate="tbPassword" ErrorMessage="密码不能为空"></asp:RequiredFieldValidator> </td>
</tr>
<tr>
<td colspan="1" style="width: 93px; clip: rect(auto 5px auto auto); color: teal;
direction: ltr; height: 20px; text-align: right">
</td>
</tr>
<tr>
<td colspan="1" style="width: 93px; clip: rect(auto 5px auto auto); color: teal;
direction: ltr; height: 20px; text-align: right">
</td>
<td colspan="2" rowspan="2" style="font-size: smaller; clip: rect(auto 5px auto auto);
color: teal; direction: ltr; background-color: #e3eaeb; text-align: right; width: 99px;">
再次输入密码:<br />
</td>
<td colspan="2" rowspan="2" style="width: 42px; background-color: #e3eaeb">
<div id="confirm_password_info" class="HintMsg" style="font-size: smaller; color: teal;
font-family: 宋体; background-color: #e3eaeb; border-right: #e3eaeb thin solid; border-top: #e3eaeb thin solid; border-left: #e3eaeb thin solid; border-bottom: #e3eaeb thin solid;">
<asp:TextBox ID="tbPasswordStr" runat="server" Height="17px" Width="176px" TextMode="Password"></asp:TextBox><br />
</div>
</td>
<td rowspan="2" style="font-size: smaller; width: 310px; color: teal; background-color: #e3eaeb;">
请再输入一遍您上面输入的密码。<br />
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="tbPasswordStr"
ControlToValidate="tbPassword" ErrorMessage="两次输入的密码不一样" Width="165px" style="font-size: smaller"></asp:CompareValidator></td>
</tr>
<tr>
<td colspan="1" style="width: 93px; clip: rect(auto 5px auto auto); color: teal;
direction: ltr; height: 20px; text-align: right">
</td>
</tr>
<tr>
<td colspan="1" style="width: 93px; clip: rect(auto 5px auto auto); color: teal;
direction: ltr; height: 20px; text-align: right">
</td>
<td colspan="2" style="clip: rect(auto 5px auto auto); color: teal; direction: ltr;
height: 20px; text-align: right; font-size: smaller; background-color: #e3eaeb; width: 99px;">
邮箱地址:<br />
</td>
<td colspan="2" style="font-size: smaller; color: teal; font-family: 宋体; height: 38px; width: 42px; background-color: #e3eaeb;">
<asp:TextBox ID="tbemail" runat="server" Width="177px" Height="18px"></asp:TextBox><br />
<asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="tbemail"
ErrorMessage="邮箱地址不合法" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
Width="111px"></asp:RegularExpressionValidator></td>
<td style="font-size: smaller; width: 310px; color: teal; font-family: 宋体; height: 38px; background-color: #e3eaeb;">
请填写常用的电子邮箱地址,重设密码将通过此处填<br />
写的邮箱进行确认。<br />
</td>
</tr>
<tr>
<td colspan="1" style="width: 93px; height: 3px">
</td>
<td colspan="5" rowspan="2" style="background-color: #e3eaeb; text-align: center">
<br />
<asp:Button ID="btnReister" runat="server" Height="25px" Text="注册" Width="71px" OnClick="btnReister_Click" /></td>
</tr>
<tr>
<td colspan="1" style="width: 93px; height: 26px">
</td>
</tr>
</table>
</div>
<br />
<table>
<tr>
<td style="width: 126px; height: 67px">
</td>
<td style="width: 595px; height: 67px">
</td>
<td style="width: 94px; height: 67px">
</td>
</tr>
<tr>
<td style="width: 126px; height: 6px;">
</td>
<td style="width: 595px; text-align: center; height: 6px;">
<asp:Label ID="Label2" runat="server" Font-Size="X-Small" ForeColor="DimGray" Text="Copyright (C) 19小组 2008-9999, All Rights Reserved 19小组"></asp:Label></td>
<td style="width: 94px; height: 6px;">
</td>
</tr>
</table>
<br />
<br />
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -