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

百货/超市行业

开发平台:

ASP/ASPX

  1. <%@ Page language="c#" Codebehind="ChangePwd.aspx.cs" AutoEventWireup="false" Inherits="admin.ChangePwd" %>
  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>
  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" width="700">
  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" height="100%">
  20. <tr valign="top">
  21. <td align="center">
  22. <form runat="server" ID="Form1">
  23. <table border="1" bordercolor="#ffcc66">
  24. <tr>
  25. <td>
  26. <TABLE id="Table1" align="center" cellSpacing="0" cellPadding="1" width="300" border="0"
  27. height="100%">
  28. <TR bgcolor="#ffcc66">
  29. <TD colSpan="3" nowrap align="center"><FONT face="宋体"><b>更改管理员密码</b></FONT></TD>
  30. </TR>
  31. <TR>
  32. <TD colSpan="3" nowrap align="center">
  33. <asp:Label id="Message" runat="server" ForeColor="Red"></asp:Label></TD>
  34. </TR>
  35. <TR>
  36. <TD nowrap><FONT face="宋体">旧密码:</FONT></TD>
  37. <TD nowrap>
  38. <asp:TextBox id="OldPassword" runat="server" TextMode="Password" BorderStyle="Groove"></asp:TextBox></TD>
  39. <TD nowrap>
  40. <asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ControlToValidate="OldPassword" ErrorMessage="*"></asp:RequiredFieldValidator></TD>
  41. </TR>
  42. <TR>
  43. <TD nowrap><FONT face="宋体">新密码:</FONT></TD>
  44. <TD nowrap>
  45. <asp:TextBox id="NewPassword" runat="server" TextMode="Password" BorderStyle="Groove"></asp:TextBox></TD>
  46. <TD nowrap>
  47. <asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ControlToValidate="NewPassword" ErrorMessage="*"></asp:RequiredFieldValidator></TD>
  48. </TR>
  49. <TR>
  50. <TD nowrap><FONT face="宋体">确认新密码:</FONT></TD>
  51. <TD nowrap>
  52. <asp:TextBox id="Confirm" runat="server" TextMode="Password" BorderStyle="Groove"></asp:TextBox></TD>
  53. <TD nowrap>
  54. <asp:RequiredFieldValidator id="RequiredFieldValidator3" runat="server" ControlToValidate="Confirm" ErrorMessage="*"></asp:RequiredFieldValidator>
  55. <asp:CompareValidator id="CompareValidator1" runat="server" ControlToValidate="Confirm" ErrorMessage="两次密码不同"
  56. ControlToCompare="NewPassword"></asp:CompareValidator></TD>
  57. </TR>
  58. <TR>
  59. <TD colSpan="3" align="center">
  60. <asp:Button id="Submit" runat="server" BorderStyle="Groove" Text="确定" Width="64px"></asp:Button></TD>
  61. </TR>
  62. </TABLE>
  63. </td>
  64. </tr>
  65. </table>
  66. </td>
  67. </tr>
  68. </table>
  69. </td>
  70. </tr>
  71. </table>
  72. </td>
  73. </tr>
  74. </table>
  75. </FORM>
  76. </body>
  77. </HTML>