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

百货/超市行业

开发平台:

ASP/ASPX

  1. <%@ Page language="c#" Codebehind="AddAdmin.aspx.cs" AutoEventWireup="false" Inherits="admin.AddAdmin" %>
  2. <%@ Register TagPrefix="Admin" TagName="AdminMenu" Src="AdminMenu.ascx" %>
  3. <HTML>
  4. <HEAD>
  5. <link rel="stylesheet" type="text/css" href="styles.css">
  6. </HEAD>
  7. <body background="../images/sitebkgrdnogray.gif" leftmargin="0" topmargin="0" rightmargin="0"
  8. bottommargin="0" marginheight="0" marginwidth="0">
  9. <table cellspacing="0" cellpadding="0" width="100%" border="0" height="100%">
  10. <tr valign="top">
  11. <td valign="top" width="145" bgcolor="#9999cc" height="100%">
  12. <Admin:AdminMenu id="Menu1" runat="server" />
  13. <img height="1" src="images/1x1.gif" width="145">
  14. </td>
  15. <td align="center" valign="middle">
  16. <table align="center" width="100%" border="0" height="100%">
  17. <tr valign="top">
  18. <td align="center">
  19. <table align="center" width="100%" border="0">
  20. <tr valign="top">
  21. <td align="center">
  22. <table border="1" bordercolor="#ffcc66">
  23. <tr>
  24. <td>
  25. <form runat="server" ID="Form1">
  26. <TABLE id="Table1" cellSpacing="1" cellPadding="1" width="300" border="0">
  27. <TR>
  28. <TD noWrap colSpan="3" align="center" bgcolor="#ffcc66"><FONT face="宋体">新增管理员</FONT></TD>
  29. </TR>
  30. <TR>
  31. <TD noWrap align="center" bgColor="#ffcc66" colSpan="3">
  32. <asp:Label id="MyError" runat="server" ForeColor="#C00000"></asp:Label></TD>
  33. </TR>
  34. <TR>
  35. <TD noWrap><FONT face="宋体">管理员登录名:</FONT></TD>
  36. <TD noWrap>
  37. <asp:TextBox id="LoginName" runat="server"></asp:TextBox></TD>
  38. <TD noWrap>
  39. <asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="LoginName"></asp:RequiredFieldValidator></TD>
  40. </TR>
  41. <TR>
  42. <TD noWrap><FONT face="宋体">管理员密码:</FONT></TD>
  43. <TD noWrap>
  44. <asp:TextBox id="Password" runat="server" TextMode="Password"></asp:TextBox></TD>
  45. <TD noWrap>
  46. <asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ErrorMessage="*" ControlToValidate="Password"></asp:RequiredFieldValidator></TD>
  47. </TR>
  48. <TR>
  49. <TD noWrap><FONT face="宋体">确认密码:</FONT></TD>
  50. <TD noWrap>
  51. <asp:TextBox id="ConfirmPwd" runat="server" TextMode="Password"></asp:TextBox></TD>
  52. <TD noWrap>
  53. <asp:RequiredFieldValidator id="RequiredFieldValidator3" runat="server" ErrorMessage="*" ControlToValidate="ConfirmPwd"></asp:RequiredFieldValidator>
  54. <asp:CompareValidator id="CompareValidator1" runat="server" ErrorMessage="两次密码不同" ControlToValidate="ConfirmPwd"
  55. ControlToCompare="Password"></asp:CompareValidator></TD>
  56. </TR>
  57. <TR>
  58. <TD noWrap><FONT face="宋体">管理员权限:</FONT></TD>
  59. <TD noWrap><FONT face="宋体">
  60. <asp:DropDownList id="ListRole" runat="server"></asp:DropDownList></FONT></TD>
  61. <TD noWrap></TD>
  62. </TR>
  63. <TR>
  64. <TD noWrap colSpan="3" align="center"><FONT face="宋体">
  65. <asp:Button id="Add" runat="server" Text="添加" Width="56px"></asp:Button></FONT></TD>
  66. </TR>
  67. </TABLE>
  68. </form>
  69. </td>
  70. </tr>
  71. </table>
  72. </td>
  73. </tr>
  74. </table>
  75. </td>
  76. </tr>
  77. </table>
  78. </td>
  79. </tr>
  80. </table>
  81. </body>
  82. </HTML>