<%@ Page Title="" Language="C#" MasterPageFile="SiteUser.Master" AutoEventWireup="true" CodeBehind="edit_pwd.aspx.cs" Inherits="FanXian.Web.user.edit_pwd" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">修改密码_</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <form id="aspnetForm" runat="server">
    <h2>修改密码</h2>
    <table>
        <tr>
            <td>旧密码</td>
            <td>
                <asp:TextBox ID="txt_old_pwd" runat="server" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txt_old_pwd">请填写</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>新密码</td>
            <td>
                <asp:TextBox ID="txt_new_pwd" runat="server" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txt_new_pwd">请填写</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>确认新密码</td>
            <td>
                <asp:TextBox ID="txt_confirm_pwd" runat="server" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="txt_confirm_pwd">请填写</asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToCompare="txt_new_pwd" ControlToValidate="txt_confirm_pwd">两次密码不同</asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td>
                <asp:Button ID="Button1" runat="server" Text="提交修改" onclick="Button1_Click" />
                <asp:Label ID="msg" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
    </table>
    </form>
</asp:Content>
