<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Remima.aspx.cs" Inherits="manage_Remima" %>

<!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>
    <link href="../StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body style="text-align: center">
    <form id="form1" runat="server">
    <div>
        <table style="width: 509px; background-color: lavender;">
            <tr>
                <td colspan="3" style="height: 25px; background-color: #ccffcc;">
                    <strong><span style="font-size: 11pt">
                    修改密码</span></strong></td>
            </tr>
            <tr>
                <td colspan="3" style="text-align: left">
                    旧用户名：<asp:TextBox ID="oldname" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td colspan="3" style="text-align: left">
                    旧的密码：<asp:TextBox ID="oldpass" runat="server" TextMode="Password" Width="149px"></asp:TextBox></td>
            </tr>
            <tr>
                <td colspan="3" style="text-align: left">
                    新用户名：<asp:TextBox ID="newname" runat="server" MaxLength="40"></asp:TextBox>
                    &nbsp;&nbsp; 确认：<asp:TextBox ID="rename" runat="server"></asp:TextBox>
                    <asp:CompareValidator ID="c1" runat="server" ControlToValidate="rename" ErrorMessage="用户名不一致" ControlToCompare="newname"></asp:CompareValidator></td>
            </tr>
            <tr>
                <td colspan="3" style="text-align: left">
                    新的密码：<asp:TextBox ID="newpass" runat="server" MaxLength="40" TextMode="Password" Width="149px"></asp:TextBox>
                    &nbsp;&nbsp; 确认：<asp:TextBox ID="repass" runat="server" TextMode="Password" Width="149px"></asp:TextBox>
                    <asp:CompareValidator ID="c2" runat="server" ErrorMessage="密码不一致" ControlToCompare="newpass" ControlToValidate="repass"></asp:CompareValidator></td>
            </tr>
            <tr>
                <td colspan="3" style="height: 21px">
                    <asp:Label ID="lblError" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="3" style="height: 20px; background-color: #ccffcc;">
                    <asp:Button ID="surbtn" runat="server" Text="确认修改" OnClick="surbtn_Click" /></td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
