Register.aspx
资源名称:SHOPASP.rar [点击查看]
上传用户:xiecaij
上传日期:2015-02-08
资源大小:2016k
文件大小:7k
源码类别:
百货/超市行业
开发平台:
ASP/ASPX
- <%@ Register TagPrefix="eshop" TagName="CategoryList" Src="UserControl/CategoryList.ascx" %>
- <%@ Register TagPrefix="eshop" TagName="HeaderMenu" Src="UserControl/HeaderMenu.ascx" %>
- <%@ Page language="c#" Codebehind="Register.aspx.cs" AutoEventWireup="false" Inherits="eshop.Register" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <title>EShop</title>
- <LINK href="Styles.css" type="text/css" rel="stylesheet">
- </HEAD>
- <body>
- <table cellSpacing="0" cellPadding="0" width="100%" border="0">
- <tr>
- <td colSpan="2"><eshop:headermenu id="Header1" runat="server"></eshop:headermenu></td>
- </tr>
- <tr>
- <td valign="top" width="145">
- <eshop:CategoryList id="Menu1" runat="server" />
- <img height="1" src="images/space.gif" width="145">
- </td>
- <td align="left" valign="top" width="700">
- <table align="left" width="100%" border="0">
- <tr valign="top">
- <td align="left">
- <table align="center" width="100%" border="0">
- <tr valign="midddle">
- <td align="center">
- <TABLE id="Table1" align="center" cellSpacing="0" cellPadding="0" width="100%" border="0">
- <TBODY>
- <TR>
- <TD align="center" valign="middle">
- <div id="PanelEx1" width="80%">
- <div id="PanelEx1" style="BORDER-RIGHT:#ffcc66 2px solid; BORDER-TOP:#ffcc66 2px solid; BORDER-LEFT:#ffcc66 2px solid; WIDTH:320px; BORDER-BOTTOM:#ffcc66 2px solid; HEIGHT:120px">
- <TABLE id="TitleTable001" style="Z-INDEX: 102;WIDTH: 316px;HEIGHT: 17px" cellSpacing="1"
- cellPadding="1" width="316" bgColor="#ffcc66" border="0">
- <TR>
- <TD colSpan="3" align="center"><span style="FONT-SIZE:x-small;COLOR:white"><FONT face="宋体" size="4"><b>用户注册</b></FONT></span></TD>
- </TR>
- </TABLE>
- <SPAN id="PanelEx1_Label1">
- <form id="Form1" method="post" runat="server">
- <table id="table3" width="70%" align="center">
- <TBODY align="right">
- <tr>
- <td align="center"><asp:Label ID="Message" Runat="server" BorderColor="red" ForeColor="Red" /></td>
- </tr>
- <TR>
- <td><font>用户名:</font><asp:TextBox ID="LoginName" Runat="server" BorderStyle="Groove" Width="136px"></asp:TextBox>
- </td>
- </TR>
- <tr>
- <td align="center"><asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ControlToValidate="LoginName" ErrorMessage="请输入用户名"
- Display="Dynamic"></asp:RequiredFieldValidator></td>
- </tr>
- <tr>
- <td>
- <font>密 码:</font><asp:TextBox ID="Password" Runat="server" BorderStyle="Groove" Width="136px" TextMode="Password"></asp:TextBox>
- </td>
- </tr>
- <tr>
- <td align="center"><asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ControlToValidate="Password" ErrorMessage="请输入密码"
- Display="Dynamic"></asp:RequiredFieldValidator></td>
- </tr>
- <tr>
- <td>
- <font>确认密码:</font><asp:TextBox ID="AnotherPassword" Runat="server" BorderStyle="Groove" Width="136px" TextMode="Password"></asp:TextBox>
- </td>
- </tr>
- <tr>
- <td align="center"><asp:RequiredFieldValidator id="Requiredfieldvalidator3" runat="server" ControlToValidate="AnotherPassword"
- ErrorMessage="请确认密码" Display="Dynamic"></asp:RequiredFieldValidator>
- <asp:CompareValidator id="CompareValidator1" runat="server" Display="Dynamic" ErrorMessage="两次输入不同" ControlToValidate="AnotherPassword"
- ControlToCompare="Password"></asp:CompareValidator></td>
- </tr>
- <tr>
- <td nowrap>
- <font>密码提示问题:</font><asp:TextBox ID="Question" Runat="server" BorderStyle="Groove" Width="136px"></asp:TextBox>
- </td>
- </tr>
- <TR>
- <TD noWrap>
- <asp:RequiredFieldValidator id="RequiredFieldValidator4" runat="server" Display="Dynamic" ErrorMessage="请输入密码提示问题"
- ControlToValidate="Question"></asp:RequiredFieldValidator></TD>
- </TR>
- <tr>
- <td nowrap>
- <font>提示问题答案:</font><asp:TextBox ID="Answer" Runat="server" BorderStyle="Groove" Width="136px"></asp:TextBox>
- </td>
- </tr>
- <TR>
- <TD noWrap><FONT face="宋体">
- <asp:RequiredFieldValidator id="RequiredFieldValidator5" runat="server" Display="Dynamic" ErrorMessage="请输入密码提示问题答案"
- ControlToValidate="Answer"></asp:RequiredFieldValidator></FONT></TD>
- </TR>
- <tr>
- <td nowrap>
- <font>确认一遍:</font><asp:TextBox ID="AnotherAnswer" Runat="server" BorderStyle="Groove" Width="136px"></asp:TextBox>
- </td>
- </tr>
- <TR>
- <TD noWrap>
- <asp:CompareValidator id="CompareValidator2" runat="server" Display="Dynamic" ErrorMessage="两次输入不同" ControlToValidate="AnotherAnswer"
- ControlToCompare="Answer"></asp:CompareValidator></TD>
- </TR>
- <tr align="center">
- <td align="center"><asp:Button ID="Submit" Runat="server" BorderStyle="Ridge" Text="注册" Width="56px" BackColor="#ffcc66" /></td>
- </tr>
- </TBODY>
- </table>
- </SPAN>
- </div>
- </div>
- </TD>
- </TR>
- <TR>
- <TD vAlign="middle" align="center"></TD>
- </TR>
- </TBODY>
- </TABLE>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </FORM>
- </body>
- </HTML>