<%@ Page MasterPageFile="~/MasterPage.master" Title="修改密码" language="c#" Inherits="ChangeUserPassword" CodeFile="ChangeUserPassword.aspx.cs" %>
<asp:Content ID="cphHead" ContentPlaceHolderID="ContentPlaceHolderToolbar" runat="Server">
		<table width="100%" height="100%" id="__tblSubmitImage" style="DISPLAY: none">
			<tr>
				<td align="center">
					<img src="/images/Sumiting.gif">
				</td>
			</tr>
		</table>
			<TABLE class="Navigator" cellSpacing="0" cellPadding="5" width="100%">
				<TR>
					<TD noWrap width="80">&nbsp;您的位置：</TD>
					<TD align="left"><font class="NavigatorTitle">修改密码</font></TD>
				</TR>
			</TABLE>
</asp:Content>
<asp:Content ID="cphList" ContentPlaceHolderID="ContentPlaceHolderList" Runat="Server">
			<table class="EditTable" cellSpacing="0" cellPadding="5" align="center">
				<tr>
					<td class="EditTitle" colSpan="4">
                        修改密码0</td>
				</tr>
				<tr>
					<td class="EditLabel">
                        用户名：</td>
					<td class="EditInput">
						<asp:textbox id="txtUserName" CssClass="textbox" Runat="server" Width="200px" ReadOnly="true"></asp:textbox>
				    </td>
				</tr>
				<tr>
					<td class="EditLabel">新密码：</td>
					<td class="EditInput">
						<asp:textbox id="txtNewPassword" CssClass="textbox" Runat="server" Width="200px" TextMode="Password"
							MaxLength="20"></asp:textbox>
						<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="请填写新密码！" Display="Dynamic"
							ControlToValidate="txtNewPassword" EnableViewState="False">*</asp:RequiredFieldValidator>
					</td>
				</tr>
				<tr>
					<td class="EditLabel">确认新密码：</td>
					<td class="EditInput">
						<asp:textbox id="txtNewPassword2" CssClass="textbox" Runat="server" Width="200px" TextMode="Password"
							MaxLength="20"></asp:textbox>
						<asp:CompareValidator id="CompareValidator1" runat="server" ErrorMessage="两次输入的新密码不符！" Display="Dynamic"
							ControlToValidate="txtNewPassword2" EnableViewState="False" ControlToCompare="txtNewPassword">*</asp:CompareValidator>
					</td>
				</tr>
				<tr>
					<td class="EditOperate" colSpan="4"><asp:button id="btnOK" runat="server" EnableViewState="False" Text="保存" onclick="btnOK_Click" OnClientClick="return confirm('是否确定修改该用户的密码？');"></asp:button><INPUT type="button" value="返回" onclick="location.href='/Main.aspx'"></td>
				</tr>
				<TR>
					<TD class="EditMessage" colSpan="4"><asp:validationsummary id="ValidationSummary1" runat="server" EnableViewState="False" HeaderText="请检查下列输入是否正确："></asp:validationsummary><asp:label id="lblMessage" runat="server" EnableViewState="False" ForeColor="Red"></asp:label></TD>
				</TR>
			</table>
			<div align="center">
                注意：请确认客户资料无误后，再修改客户的密码，以避免不必要的纠纷。</div>
</asp:Content>
