<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TeacherEdit.aspx.cs" Inherits="RPWEB.Manage.TeacherEdit" %>

<!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="../Web_CSS/WebCss.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../JS/Jquery.js"></script>
    <script type="text/javascript" src="../JS/ManageWeb.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="div_All">
    <div class="Body_Title">用户管理 》》编辑用户信息</div>
        <hr />
     <table cellpadding="2" cellspacing="1" class="Admin_Table" style="width:99%; margin:5px auto;">
     <thead>
        <tr class="Admin_Table_Title">
            <th colspan="3">编辑用户信息</th>
        </tr>
     </thead>
        <tr>
            <td>登录名称：</td>
            <td>
                <input id="txtPerson" type="text" maxlength="20" runat="server" class="txtHInput"/>&nbsp;<img src="../Images/warning.png"/>必填</td>
            <td>登录名称，不能为空！</td>
        </tr>
        
        <tr>
            <td>真实姓名：</td>
            <td>
                <input id="TeacherName" type="text" maxlength="20" runat="server" class="txtHInput"/>&nbsp;<img src="../Images/warning.png"/>必填</td>
            <td>真实姓名，不能为空！</td>
        </tr>
        
        
        <tr>
            <td>登录密码：</td>
            <td>
                <asp:TextBox ID="txtPassWord" runat="server" CssClass="txtHInput" 
                    MaxLength="100" TextMode="Password"></asp:TextBox>&nbsp;<img src="../Images/warning.png"/>必填</td>
            <td>登录密码，不能为空！</td>
        </tr>
        <tr>
            <td>确认密码：</td>
            <td>
            <asp:TextBox ID="txtCheckPass" runat="server" CssClass="txtHInput" MaxLength="100" TextMode="Password"></asp:TextBox>&nbsp;<img src="../Images/warning.png"/>必填</td>
            <td>确认登录密码，不能为空！</td>
        </tr>
        
        
         
  <%--      
         <tr>
            <td>手机号码：</td>
            <td><input id="txtMoblie" type="text" maxlength="30" runat="server" class="txtHInput"/></td>
            <td>联系电话，这个不能为空！</td>
        </tr>
        <tr>
            <td>联系QQ：</td>
            <td><input id="txtQQ" type="text" maxlength="30" runat="server" class="txtHInput"/></td>
            <td>有的话，最好填上。方便联系。</td>
        </tr>
       
        <tr>
            <td>电子邮箱：</td>
            <td><input id="txtMail" type="text" maxlength="30" runat="server" class="txtHInput"/></td>
            <td>有的话，最好填上。</td>
        </tr>
        <tr>
            <td>生日：</td>
            <td>
                <input id="txtBirthDay" type="text" maxlength="30" runat="server" class="txtHInput"/></td>
            <td>有的话，最好填上。</td>
        </tr>
        <tr>
            <td>联系地址：</td>
            <td>
                <input id="txtAdress" type="text" maxlength="200" runat="server" class="txtHInput" style="width:400px"/></td>
            <td>有的话，最好填上。</td>
        </tr>
        --%>
        
        
        
        
        <tr>
            <td>所属角色：</td>
            <td><asp:DropDownList ID="DDLPower" runat="server">
                </asp:DropDownList></td>
            <td>分配该账户的权限级别。</td>
        </tr>
        
        <tr>
            <td>所教学科：</td>
            <td><asp:DropDownList ID="SubjectID" runat="server">
                </asp:DropDownList></td>
            <td>分配该账户的教学学科。</td>
        </tr>   
        
        <tr>
            <td>账户状态：</td>
            <td><asp:DropDownList ID="DDLState" runat="server">
                    <asp:ListItem Value="0">正常</asp:ListItem>
                    <asp:ListItem Value="1">禁用</asp:ListItem>
                </asp:DropDownList></td>
            <td>账户的状态，禁用后将无法登录。</td>
        </tr>
<%--        <tr>
            <td>备注信息：</td>
            <td>
                <input id="txtRemark" type="text" maxlength="200" runat="server" class="txtHInput" style="width:400px"/></td>
            <td>系统功能有限，该用户的其它信息，就写在这里吧。</td>
        </tr>--%>
        <tr>
            <td></td>
            <td>
                <asp:Button ID="BtnSaveUserMes" runat="server" Text="保存信息" 
                    onclick="BtnSaveUserInfo_Click" />&nbsp;
                <input id="txtRe" type="reset" value=" 重填 " />
                &nbsp;<input id="BtnBack" type="button" 
                    value="返回管理" onclick='javascript:location.href="TeacherInfo.aspx"'/></td>
            <td></td>
        </tr>
     </table>
    </div>
    </form>
</body>
</html>
