Register.aspx
上传用户:xiecaij
上传日期:2015-02-08
资源大小:2016k
文件大小:7k
源码类别:

百货/超市行业

开发平台:

ASP/ASPX

  1. <%@ Register TagPrefix="eshop" TagName="CategoryList" Src="UserControl/CategoryList.ascx" %>
  2. <%@ Register TagPrefix="eshop" TagName="HeaderMenu" Src="UserControl/HeaderMenu.ascx" %>
  3. <%@ Page language="c#" Codebehind="Register.aspx.cs" AutoEventWireup="false" Inherits="eshop.Register" %>
  4. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  5. <HTML>
  6. <HEAD>
  7. <title>EShop</title>
  8. <LINK href="Styles.css" type="text/css" rel="stylesheet">
  9. </HEAD>
  10. <body>
  11. <table cellSpacing="0" cellPadding="0" width="100%" border="0">
  12. <tr>
  13. <td colSpan="2"><eshop:headermenu id="Header1" runat="server"></eshop:headermenu></td>
  14. </tr>
  15. <tr>
  16. <td valign="top" width="145">
  17. <eshop:CategoryList id="Menu1" runat="server" />
  18. <img height="1" src="images/space.gif" width="145">
  19. </td>
  20. <td align="left" valign="top" width="700">
  21. <table align="left" width="100%" border="0">
  22. <tr valign="top">
  23. <td align="left">
  24. <table align="center" width="100%" border="0">
  25. <tr valign="midddle">
  26. <td align="center">
  27. <TABLE id="Table1" align="center" cellSpacing="0" cellPadding="0" width="100%" border="0">
  28. <TBODY>
  29. <TR>
  30. <TD align="center" valign="middle">
  31. <div id="PanelEx1" width="80%">
  32. <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">
  33. <TABLE id="TitleTable001" style="Z-INDEX: 102;WIDTH: 316px;HEIGHT: 17px" cellSpacing="1"
  34. cellPadding="1" width="316" bgColor="#ffcc66" border="0">
  35. <TR>
  36. <TD colSpan="3" align="center"><span style="FONT-SIZE:x-small;COLOR:white"><FONT face="宋体" size="4"><b>用户注册</b></FONT></span></TD>
  37. </TR>
  38. </TABLE>
  39. <SPAN id="PanelEx1_Label1">
  40. <form id="Form1" method="post" runat="server">
  41. <table id="table3" width="70%" align="center">
  42. <TBODY align="right">
  43. <tr>
  44. <td align="center"><asp:Label ID="Message" Runat="server" BorderColor="red" ForeColor="Red" /></td>
  45. </tr>
  46. <TR>
  47. <td><font>用户名:</font><asp:TextBox ID="LoginName" Runat="server" BorderStyle="Groove" Width="136px"></asp:TextBox>
  48. </td>
  49. </TR>
  50. <tr>
  51. <td align="center"><asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ControlToValidate="LoginName" ErrorMessage="请输入用户名"
  52. Display="Dynamic"></asp:RequiredFieldValidator></td>
  53. </tr>
  54. <tr>
  55. <td>
  56. <font>密&nbsp;&nbsp;&nbsp; 码:</font><asp:TextBox ID="Password" Runat="server" BorderStyle="Groove" Width="136px" TextMode="Password"></asp:TextBox>
  57. </td>
  58. </tr>
  59. <tr>
  60. <td align="center"><asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ControlToValidate="Password" ErrorMessage="请输入密码"
  61. Display="Dynamic"></asp:RequiredFieldValidator></td>
  62. </tr>
  63. <tr>
  64. <td>
  65. <font>确认密码:</font><asp:TextBox ID="AnotherPassword" Runat="server" BorderStyle="Groove" Width="136px" TextMode="Password"></asp:TextBox>
  66. </td>
  67. </tr>
  68. <tr>
  69. <td align="center"><asp:RequiredFieldValidator id="Requiredfieldvalidator3" runat="server" ControlToValidate="AnotherPassword"
  70. ErrorMessage="请确认密码" Display="Dynamic"></asp:RequiredFieldValidator>
  71. <asp:CompareValidator id="CompareValidator1" runat="server" Display="Dynamic" ErrorMessage="两次输入不同" ControlToValidate="AnotherPassword"
  72. ControlToCompare="Password"></asp:CompareValidator></td>
  73. </tr>
  74. <tr>
  75. <td nowrap>
  76. <font>密码提示问题:</font><asp:TextBox ID="Question" Runat="server" BorderStyle="Groove" Width="136px"></asp:TextBox>
  77. </td>
  78. </tr>
  79. <TR>
  80. <TD noWrap>
  81. <asp:RequiredFieldValidator id="RequiredFieldValidator4" runat="server" Display="Dynamic" ErrorMessage="请输入密码提示问题"
  82. ControlToValidate="Question"></asp:RequiredFieldValidator></TD>
  83. </TR>
  84. <tr>
  85. <td nowrap>
  86. <font>提示问题答案:</font><asp:TextBox ID="Answer" Runat="server" BorderStyle="Groove" Width="136px"></asp:TextBox>
  87. </td>
  88. </tr>
  89. <TR>
  90. <TD noWrap><FONT face="宋体">
  91. <asp:RequiredFieldValidator id="RequiredFieldValidator5" runat="server" Display="Dynamic" ErrorMessage="请输入密码提示问题答案"
  92. ControlToValidate="Answer"></asp:RequiredFieldValidator></FONT></TD>
  93. </TR>
  94. <tr>
  95. <td nowrap>
  96. <font>确认一遍:</font><asp:TextBox ID="AnotherAnswer" Runat="server" BorderStyle="Groove" Width="136px"></asp:TextBox>
  97. </td>
  98. </tr>
  99. <TR>
  100. <TD noWrap>
  101. <asp:CompareValidator id="CompareValidator2" runat="server" Display="Dynamic" ErrorMessage="两次输入不同" ControlToValidate="AnotherAnswer"
  102. ControlToCompare="Answer"></asp:CompareValidator></TD>
  103. </TR>
  104. <tr align="center">
  105. <td align="center"><asp:Button ID="Submit" Runat="server" BorderStyle="Ridge" Text="注册" Width="56px" BackColor="#ffcc66" /></td>
  106. </tr>
  107. </TBODY>
  108. </table>
  109. </SPAN>
  110. </div>
  111. </div>
  112. </TD>
  113. </TR>
  114. <TR>
  115. <TD vAlign="middle" align="center"></TD>
  116. </TR>
  117. </TBODY>
  118. </TABLE>
  119. </td>
  120. </tr>
  121. </table>
  122. </td>
  123. </tr>
  124. </table>
  125. </td>
  126. </tr>
  127. </table>
  128. </FORM>
  129. </body>
  130. </HTML>