<%@ Page Language="C#" MasterPageFile="~/Themes/Default/Site.Master" AutoEventWireup="true"
    CodeBehind="ChangePsw.aspx.cs" Inherits="Aspx1.User.ChangePassword" Title="用户中心" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<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>
</asp:Content>
