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

<!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>
    <form id="form1" runat="server">
        <div>
            <div class="listAddLink">
                <a href="javascript:history.back();">返 回</a></div>
            <div>
                <div class="listAddLink">
                </div>
                <table cellpadding="0" cellspacing="0" class="form" width="800">
                    <tr>
                        <td align="left" class="formName" colspan="2">
                            <span style="margin-left: 10px">修改人员</span>
                        </td>
                    </tr>
                    <tr>
                        <td class="titleName" style="width: 200px">
                        账 号：
                        </td>
                        <td class="inputArea" style="width: 598px">
                            <asp:TextBox ID="txtUserID" runat="server" CssClass="txt" ReadOnly="True" Width="150px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="titleName" style="width: 200px; height: 37px">
                            <span style="color: #ff0000">&nbsp;&nbsp;</span></td>
                        <td class="inputArea" style="width: 598px; color: #ff0000;">
                            <div class="tip" style="width: 24%">
                                <span class="content">提示：账号不能修改</span></div>
                        </td>
                    </tr>
                    <tr>
                        <td class="titleName" style="width: 200px">
                        姓 名：
                        </td>
                        <td class="inputArea" style="width: 598px">
                            <asp:TextBox ID="txtName" runat="server" CssClass="txt" Width="150px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtName"
                                ErrorMessage="*"></asp:RequiredFieldValidator></td>
                    </tr>
                    <tr>
                        <td class="titleName" style="width: 200px; height: 23px">
                        所属部门：</td>
                        <td class="inputArea" style="width: 598px; height: 23px">
                            <asp:DropDownList ID="drlDeptList" runat="server" CssClass="txt" DataSourceID="objdsDeptList"
                                DataTextField="DeptName" DataValueField="DeptID" Width="150px">
                                <asp:ListItem Value="-1">请选择部门</asp:ListItem>
                                <asp:ListItem>工程处</asp:ListItem>
                                <asp:ListItem>工艺处</asp:ListItem>
                                <asp:ListItem>结构处</asp:ListItem>
                            </asp:DropDownList></td>
                    </tr>
                    <tr>
                        <td class="titleName" style="width: 200px; height: 23px">
                        权 限：</td>
                        <td class="inputArea" style="width: 598px; height: 23px">
                            <asp:CheckBoxList ID="cblRight" runat="server" BorderStyle="None" CssClass="txt"
                                RepeatDirection="Horizontal" RepeatLayout="Flow" Width="150px">
                                <asp:ListItem Selected="True" Value="1">考试人员</asp:ListItem>
                                <asp:ListItem Value="2">管理员</asp:ListItem>
                            </asp:CheckBoxList>
                        </td>
                    </tr>
                    <tr>
                        <td class="titleName" style="width: 200px; height: 23px">
                        是否锁定：</td>
                        <td class="inputArea" style="width: 598px; height: 23px">
                            <asp:RadioButtonList ID="rblLocked" runat="server" BorderStyle="None" CssClass="txt"
                                RepeatDirection="Horizontal" RepeatLayout="Flow" Width="150px">
                                <asp:ListItem Value="true">是</asp:ListItem>
                                <asp:ListItem Selected="True" Value="false">否</asp:ListItem>
                            </asp:RadioButtonList>
                            <asp:Label ID="lblAdminMsg" runat="server" ForeColor="Red" Text="对于默认管理员admn：权限必须含有管理员，锁定必须为否！"
                                Visible="False"></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="submitArea" colspan="2">
                            <span style="margin-right: 10px">
                                <asp:Label ID="lblMsg" runat="server" ForeColor="Red"></asp:Label>
                                <asp:Button ID="btnSave" runat="server" CssClass="btn" OnClick="btnSave_Click" Text="保 存"
                                    Width="80px" /></span></td>
                    </tr>
                </table>
            </div>
            <asp:ObjectDataSource ID="objdsDeptList" runat="server" SelectMethod="GetDeptListForDropList"
                TypeName="BLL.BLLDepartment"></asp:ObjectDataSource>
        </div>
        <asp:HiddenField ID="hfdUserID" runat="server" />
    </form>
</body>
</html>
