<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UpdatePassword.aspx.cs"
    Inherits="ComResProSystem.UpdatePassword" %>

<!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 runat="server">
    <title></title>
    <style type="text/css">
        body
        {
            margin: 0px;
            padding: 0px;
            font-size: 12px;
        }
        .table
        {
            border-collapse: collapse;
            height: 24px;
            line-height: 24px;
            text-align: center;
        }
        .table tr
        {
            border-right: solid 1px #FFF;
            border-left: solid 1px #000000;
        }
        .table tr td
        {
            border: solid 1px #000000;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="background-image: url(Image/tab/tab_05.gif); height: 25px; background-repeat: repeat-x">
        <img src="Image/tab/311.gif" alt="" />
        <span style="font-size: 12px; color: #1F4A65; font-weight: bold;">修改密码</span>
    </div>
    <div align="center">
        <table>
            <tr>
                <td colspan="2" align="center">
                    修改密码
                </td>
            </tr>
            <tr>
                <td>
                    原密码:
                </td>
                <td align="left">
                    <asp:TextBox ID="Tb_PassWord" runat="server" TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="原始密码必填！" ForeColor="Red" ControlToValidate="Tb_PassWord">
                    </asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    新密码:
                </td>
                <td align="left">
                    <asp:TextBox ID="Tb_New" runat="server" TextMode="Password"></asp:TextBox>
                     <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="新密码必填！" ForeColor="Red" ControlToValidate="Tb_New">
                    </asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    确认密码:
                </td>
                <td align="left">
                    <asp:TextBox ID="Tb_confirm" runat="server" TextMode="Password"></asp:TextBox>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="两次输入的密码不一致！" ForeColor="Red"  ControlToCompare="Tb_New" ControlToValidate="Tb_confirm"></asp:CompareValidator>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:ImageButton ID="Ibt_Submit" runat="server" 
                        ImageUrl="~/Image/Bt_Submit.gif" onclick="Ibt_Submit_Click" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
