<%@ page language="C#" autoeventwireup="true" inherits="Admin_AdminPs, App_Web_qxuvifui" %>


<!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="Head2" runat="server">
    <title>密码设置</title>
    <link href="../CSS/All.css" rel="stylesheet" type="text/css" />
    
    <style>
        .division th {
        background:none repeat scroll 0 0 #E2E8EB;
        border-right:1px solid #CCCCCC;
        font-size:10pt;
        text-align:right;
        font-weight:500;
        width:140px;

        }
        .division {
            background:none repeat scroll 0 0 #FFFFFF;
            border-color:#CCCCCC #BEC6CE #BEC6CE #CCCCCC;
            border-style:solid;
            border-width:1px 2px 2px 1px;
            line-height:150%;
            padding:5px;
            white-space:normal;
            margin:5px;
       }
       .division td, .division th{
            border-color:#FFFFFF #DBE2E7 #DDDDDD #FFFFFF;
            border-left:1px solid #FFFFFF;
            border-right:1px solid #DBE2E7;
            border-style:solid;
            border-width:1px;
            padding:2px;
             margin:1px;
       }
       h5{
        margin:0;
        padding:5px;
        background-color:#E2E8EB;
        font-size:11pt;
       }
       .division .font1{
        font-weight: bold;
        color: #696969
       }
     
    </style>
    
</head>
<body>
    <form id="form2" runat="server">
    <div>
    
    
        <h5>
            管理员口令设置&nbsp;
        </h5>
        <div class="division">
            <table id="selectCust" border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <th>
                        帐号 ：</th>
                    <td>
                        <asp:TextBox ID="txtUsername" runat="server" MaxLength="40" Width="138px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtUsername"
                            ErrorMessage="*" ValidationGroup="update"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <th>
                        原密码：</th>
                    <td>
                        <asp:TextBox ID="txtPassword" runat="server" MaxLength="40" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtPassword"
                            ErrorMessage="*" ValidationGroup="update"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <th>
                        新密码：</th>
                    <td>
                        <asp:TextBox ID="txtNewPassword" runat="server" MaxLength="40" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtNewPassword"
                            ErrorMessage="*" ValidationGroup="update"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtNewPassword"
                            ErrorMessage="只能A-Za-z0-9下划线最少5个" Font-Size="10pt" ValidationExpression="[a-zA-Z0-9_\x7f-\xff]{5,}"
                            ValidationGroup="update"></asp:RegularExpressionValidator></td>
                </tr>
                <tr>
                    <th>
                        再次输入新密码：</th>
                    <td>
                        <asp:TextBox ID="txtNewPasswordTow" runat="server" MaxLength="40" TextMode="Password"></asp:TextBox>
                        <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtNewPassword"
                            ControlToValidate="txtNewPasswordTow" ErrorMessage="两次输入不一致" Font-Size="10pt"
                            ValidationGroup="update"></asp:CompareValidator></td>
                </tr>
            </table>
        </div>
    </div>
    <div style="width: 100%; background-color: lightgrey">
            <asp:Button ID="btnUpdate" runat="server" Text="保存"
                ValidationGroup="update" Width="104px" CssClass="btn"  style=" margin-left:170px" OnClick="btnSubmit_Click"/>
        </div>

 </form>
</body>
</html>




