<%@ Page Language="C#" AutoEventWireup="true"
    CodeBehind="ChangePsw.aspx.cs" Inherits="Aspx1.User.ChangePassword" Title="用户中心" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>12ym源码交易网</title>
    <link rel="stylesheet" href="/themes/default/style.css" type="text/css" media="screen,projection" />
    <script src="/js/Common.js" type="text/javascript"></script>
</head>
<body>
    <asp:Literal ID="head" runat="server"></asp:Literal>  
      <form id="form1" runat="server">
    <div class="ym_h_left">
        <asp:Literal ID="left" runat="server"></asp:Literal>
    </div>
    <div class="ym_h_right">
<div class="panel ym_h_rt ym_line">
    <ul class="ym_head">
        <li class="title">修改密码</li>
    </ul>
    <div style="display:block"><table border="0" align="center" cellpadding="3" cellspacing="1"  class="Usertableborder">
    <tbody>
    <tr>
    <td class="Usertablerow1">
    旧 密 码：</td>
    <td class="Usertablerow1">
    <asp:TextBox ID="txtOldPass" TextMode="Password" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="txtOldPass" Display="Dynamic" ErrorMessage="不能为空！"></asp:RequiredFieldValidator>
    </td>
    </tr>
    <tr>
    <td class=Usertablerow2>
    新 密 码：</td>
    <td class=Usertablerow2>
    <asp:TextBox ID="txtNewPass" TextMode="Password" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
            ControlToValidate="txtNewPass2" Display="Dynamic" ErrorMessage="不能为空！"></asp:RequiredFieldValidator>
    </td>
    </tr>
    <tr>
    <td class="Usertablerow1">
    再输一遍：
    </td>
    <td class="Usertablerow1">
    <asp:TextBox ID="txtNewPass2" TextMode="Password" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
            ControlToValidate="txtNewPass2" Display="Dynamic" ErrorMessage="不能为空！"></asp:RequiredFieldValidator>
        <asp:CompareValidator ID="CompareValidator1" runat="server" 
            ControlToCompare="txtNewPass" ControlToValidate="txtNewPass2" Display="Dynamic" 
            ErrorMessage="两次输入的密码不一致！"></asp:CompareValidator>
    </td>
    </tr> <tr>
    <td colspan="2" align="center">
    <asp:Button ID="Button1" runat="server" Text="修改密码" onclick="Button1_Click" />
     </td>
    </tr>
    </tbody>
    </table></div>
</div>
</div>
    <asp:Literal ID="foot" runat="server"></asp:Literal>
    </form>
</body>
</html>
