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

百货/超市行业

开发平台:

ASP/ASPX

  1. <%@ Register TagPrefix="eshop" TagName="headerMenu" Src="UserControl/headerMenu.ascx" %>
  2. <%@ Register TagPrefix="eshop" TagName="UserMenu" Src="UserControl/UserMenu.ascx" %>
  3. <%@ Page language="c#" Codebehind="ChangePwd.aspx.cs" AutoEventWireup="false" Inherits="eshop.ChangePwd" %>
  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:userMenu 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="center" width="100%" border="0">
  22. <tr valign="bottom">
  23. <td align="center">
  24. <form id="Form1" runat="server" method="post">
  25. <TABLE id="Table1" cellSpacing="1" cellPadding="1" width="300" border="2" bordercolor="#ffcc66">
  26. <TR bgcolor="#ffcc66">
  27. <TD noWrap colSpan="3"><FONT face="宋体">修改密码</FONT>
  28. <asp:Label id="Message" runat="server" ForeColor="Red"></asp:Label></TD>
  29. </TR>
  30. <TR>
  31. <TD noWrap><FONT face="宋体">请输入旧密码:</FONT></TD>
  32. <TD noWrap>
  33. <asp:TextBox id="OldPwd" runat="server" TextMode="Password"></asp:TextBox></TD>
  34. <TD noWrap>
  35. <asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="OldPwd"></asp:RequiredFieldValidator></TD>
  36. </TR>
  37. <TR>
  38. <TD noWrap><FONT face="宋体">请输入新密码:</FONT></TD>
  39. <TD noWrap>
  40. <asp:TextBox id="NewPwd" runat="server" TextMode="Password"></asp:TextBox></TD>
  41. <TD noWrap>
  42. <asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ErrorMessage="*" ControlToValidate="NewPwd"></asp:RequiredFieldValidator></TD>
  43. </TR>
  44. <TR>
  45. <TD noWrap><FONT face="宋体">确认新密码:</FONT></TD>
  46. <TD noWrap>
  47. <asp:TextBox id="ConfirmNew" runat="server" TextMode="Password"></asp:TextBox></TD>
  48. <TD noWrap>
  49. <asp:RequiredFieldValidator id="RequiredFieldValidator3" runat="server" ErrorMessage="*" ControlToValidate="ConfirmNew"></asp:RequiredFieldValidator>
  50. <asp:CompareValidator id="CompareValidator1" runat="server" ErrorMessage="两次密码不同" ControlToValidate="ConfirmNew"
  51. ControlToCompare="NewPwd"></asp:CompareValidator></TD>
  52. </TR>
  53. <TR>
  54. <TD noWrap colSpan="3" align="center">
  55. <asp:Button id="Submit" runat="server" Width="56px" Text="提交"></asp:Button></TD>
  56. </TR>
  57. </TABLE>
  58. </form>
  59. </td>
  60. </tr>
  61. </table>
  62. </td>
  63. </tr>
  64. </table>
  65. </body>
  66. </HTML>