<%@ page language="C#" masterpagefile="AdminIndexMaster.master" autoeventwireup="true" inherits="Admin__Admin_AdminPassword, mallz" title="管理员密码修改" enableEventValidation="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

     <table border="0" class="nick" style="clear:both">
            <tr>
              <td class="ltd">管理员名：</td>
              <td class="rtd"><asp:Literal ID="AdminName"  runat="server" /></td>                      
            </tr>
            <tr>
               <td class="ltd">请输入原密码：</td>
               <td class="rtd"><asp:TextBox ID="OldPassword" runat="server" TextMode="Password" /></td>
            </tr>
            <tr>
              <td class="ltd">请输入新密码：</td>
              <td class="rtd"> 
                  <asp:TextBox ID="PassWord1" runat="server"  CssClass="text_area" TextMode="Password"/> 
               </td>                      
            </tr>                  
            <tr>
              <td class="ltd">再次输入密码：</td>
              <td class="rtd">
                  <asp:TextBox ID="PassWord2" runat="server" CssClass="text_area" TextMode="Password"/>
                   <asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ControlToValidate="PassWord2" 
                        ControlToCompare="PassWord1"
                        Operator="Equal"
                        ErrorMessage="密码不相同!"/>
                  <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="PassWord2"
                        ErrorMessage="请输入确认密码!" />                      
              </td>
            </tr>
            <tr>                      
               <td colspan="2" class="btm">
                   <asp:Button ID="UpdateButton" runat="server" CausesValidation="True"  
                      Text="更 新" OnClick="UpdateButton_Click"    />             
                   <input id="UpdateCancelButton" value="取 消" type="button" onclick="history.back()"/>
                </td>                       
             </tr>
          </table>
  
                
</asp:Content>

