<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login_staff.aspx.cs" Inherits="Web.admin.login_staff" %>

<!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>OA标题页</title>
    <link href="../css/admincss/skin.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style1
        {
            color: #FF0000;
        }
    </style>
    </head>
<body>
    <form id="form1" runat="server" defaultfocus ="tbStaff">
  <div>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td class ="top_bg_left "></td>
    <td  class ="top_bg_center " >
    <table style ="width :100%; height :31"  border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
      
<!--这里写页标题 -->
        <td style ="height :31px"><div class="titlebt">人员管理</div></td>
      </tr>
    </table>
    </td> 
    <td class ="top_bg_right "></td>
  </tr>
  
  <tr>
    <td style ="background :url(../css/admincss/images/mail_leftbg.gif); vertical-align :middle " >&nbsp;</td>
    <td style ="background-color :#F7F8F9; vertical-align :top " >
 
        <asp:Panel ID="Panel3" runat="server">

<!--  一组内容模块开始   --> 
    <table class ="tablezong"  border="0"  cellpadding="0" cellspacing="0">
      <tr>
        <td style ="height :40px" >
        <table  class="tablebiaoti" border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td><div class ="biaotileft ">  人员查询</div>
            <div class ="biaotiright ">
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                                ControlToValidate="tbNum" Display="Dynamic" ErrorMessage="行数不能为空。" 
                                                ValidationGroup="RowNum" ForeColor="Red"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                                ControlToValidate="tbNum" Display="Dynamic" ErrorMessage="请输入大于0的整数。" 
                                                ValidationExpression="^\+?[1-9][0-9]*$" ValidationGroup="RowNum" 
                                                ForeColor="Red"></asp:RegularExpressionValidator>
                                            每页显示行数：<asp:TextBox ID="tbNum" runat="server" 
                    Width="44px" MaxLength="4">10</asp:TextBox>
                &nbsp;
                <asp:Button ID="btnQuery" runat="server" onclick="tijiao_Click" Text="确定" ToolTip="RowNum" 
                           ValidationGroup="RowNum" /></div> 
                                        </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td>
        <div>
        <table border = "1" class ="table" cellpadding ="0" cellspacing ="0" style="width :100%">
            <tr>
                <td class ="tabletd_right " style ="width :180px">
                                        人员编号/登录名/智能卡/姓名</td>
                <td class ="tabletd_left " colspan="3" >
                                            <asp:TextBox ID="tbStaff" runat="server" Width="200px"></asp:TextBox>
                                            </td>
                <td class="tabletd_right " style="width :80px">
                    部门</td>
                <td class="tabletd_left ">
                    <asp:DropDownList ID="ddlDepartment" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class ="tabletd_right " >
                    权限</td>
                <td class ="tabletd_left " style="width :80px" >
                    <asp:DropDownList ID="ddlPost" runat="server">
                    </asp:DropDownList>
                                            </td>
                <td class ="tabletd_right " style="width :80px">
                    账号状态</td>
                <td class ="tabletd_left " style="width :80px" >
                    <asp:DropDownList ID="ddlState" runat="server">
                        <asp:ListItem Selected="True">所有</asp:ListItem>
                        <asp:ListItem>正常</asp:ListItem>
                        <asp:ListItem>禁用</asp:ListItem>
                        <asp:ListItem>锁定</asp:ListItem>
                    </asp:DropDownList>
                                            </td>
                <td class ="tabletd_right " >
                    登录选择</td>
                <td class="tabletd_left ">
                    <asp:DropDownList ID="ddlLoginselect" runat="server">
                        <asp:ListItem Selected="True">所有</asp:ListItem>
                        <asp:ListItem>全部允许</asp:ListItem>
                        <asp:ListItem>仅人员编号登录</asp:ListItem>
                        <asp:ListItem>仅登录名登录</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class ="tabletd_left " colspan="6">
                    <asp:Button ID="tijiao" runat="server" 
                        onclick="tijiao_Click" Text="提交" ValidationGroup="RowNum" />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btReset" runat="server" onclick="btReset_Click" Text="重置" />
                </td>
            </tr>
            </table>
        <asp:Label ID="lbRowscountview" runat="server" 
                ForeColor="Red"></asp:Label>
          <div style ="margin-bottom :6px; margin-top :6px"> 
          <asp:GridView ID="GridView1" 
                  runat="server" BorderWidth="1px" onrowdatabound="GridView1_RowDataBound" onrowediting="GridView1_RowEditing" 
                Width="100%" CssClass="gv" cellspacing="1" AutoGenerateColumns="False" 
                  onrowcreated="GridView1_RowCreated">
                <RowStyle BorderWidth="1px" CssClass="gvrow" />
                <Columns>
               <asp:TemplateField> 
               <HeaderTemplate>  <asp:CheckBox ID="CheckBox2" Text ="全选" runat="server" AutoPostBack="True" 
                OnCheckedChanged="CheckBox2_CheckedChanged"  />    </HeaderTemplate>        
               <ItemTemplate><asp:CheckBox ID="CheckBox1" runat="server" /></ItemTemplate>               
               </asp:TemplateField>
                <asp:BoundField DataField="id" HeaderText="序号" ReadOnly="True" />
                <asp:BoundField DataField="人员编号" HeaderText="人员编号" ReadOnly="True" />
                <asp:BoundField DataField="登录名" HeaderText="登录名" ReadOnly="True" />
                <asp:BoundField DataField="智能卡" HeaderText="智能卡" ReadOnly="True" />
                <asp:BoundField DataField="姓名" HeaderText="姓名" ReadOnly="True" />
                <asp:BoundField DataField="部门" HeaderText="部门" ReadOnly="True" />
                <asp:BoundField DataField="权限" HeaderText="权限" ReadOnly="True" />
                <asp:BoundField DataField="电话" HeaderText="电话" ReadOnly="True" />
                <asp:BoundField DataField="邮箱" HeaderText="邮箱" ReadOnly="True" />
                <asp:BoundField DataField="帐号状态" HeaderText="帐号状态" ReadOnly="True" />
                <asp:BoundField DataField="登录选择" HeaderText="登录选择" ReadOnly="True" />
                    <asp:CommandField HeaderText="修改" 
                        ShowEditButton="True" EditText="修改" />
                </Columns>
                <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
            </asp:GridView>
           </div> 
            </div>
        </td>
      </tr>
      <tr><td  >
          <table cellpadding="0" cellspacing="0" style ="width :100%">
              <tr>
                  <td style =" padding-left :5px; text-align :left  ">

                     <asp:Button ID="btDelAll" runat="server" onclick="btDelAll_Click" 
                              Text="批量删除" Visible="False" />

                  </td>
                  <td  id ="allowpage" runat ="server" style ="text-align :right ;  padding-right  :5px">
                      &nbsp;</td>
              </tr>
          </table>
             
              
                   <table cellpadding="0" cellspacing="0" style ="width :100%" id="tbOutput" runat ="server" visible ="false"  >
                   <tr><td class =" td_leftnoborder ">批量修改：将选中人员的<asp:DropDownList ID="ddlXiangmu" 
                           runat="server" AutoPostBack="True" 
                           onselectedindexchanged="ddlXiangmu_SelectedIndexChanged">
                              <asp:ListItem>部门</asp:ListItem>
                              <asp:ListItem>权限</asp:ListItem>
                              <asp:ListItem>账号状态</asp:ListItem>
                              <asp:ListItem>登录选择</asp:ListItem>
                          </asp:DropDownList>
                          修改为<asp:DropDownList ID="ddlXiangmuneirong" runat="server">
                          </asp:DropDownList>
                          &nbsp;
                          <asp:Button ID="btEditAll" runat="server" Text="提交" 
                           onclick="btEditAll_Click" />&nbsp;将选中人员密码重置为:<asp:TextBox ID="tbResetPsd" 
                           runat="server"></asp:TextBox>
                       <asp:Button ID="btReSetPsd" runat="server" onclick="btReSetPsd_Click" Text="提交" 
                           ValidationGroup="ResetPsd" />
                       <asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server" 
                           ControlToValidate="tbResetPsd" Display="Dynamic" ErrorMessage="密码不能为空。" 
                           ForeColor="Red" ValidationGroup="ResetPsd"></asp:RequiredFieldValidator>
                       <asp:RegularExpressionValidator ID="RegularExpressionValidator18" 
                           runat="server" ControlToValidate="tbResetPsd" Display="Dynamic" 
                           ErrorMessage="请输入6-20个合法字符。" ForeColor="Red" 
                           ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{6,20}$" 
                           ValidationGroup="ResetPsd"></asp:RegularExpressionValidator>
                       </td><td class =" td_rightnoborder  ">                <asp:Button ID="btPrintView" runat="server" onclick="btPrintView_Click" 
                    Text="打印预览" />
                <asp:Button ID="btExcel" runat="server" Text="导出到EXCEL" 
                  onclick="btExcel_Click"  /></td></tr>
              </table> 

       
          </td></tr>
    </table>
<!-- 一组内容模块结束 -->

    <!--  一组内容模块开始   --> 
   <table class ="tablezong"  border="0"  cellpadding="0" cellspacing="0">
      <tr>
        <td style ="height :40px" >
        <table class="tablebiaoti"  border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td ><div class ="biaotileft ">添加人员</div> </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td style ="text-align :left " >
          <table border="1"  style=" width :100%" class ="table" cellpadding ="0" cellspacing ="0">
            <tr>
                <td style ="width :70px " class ="tabletd_right ">
                    人员编号</td>
                <td class ="tabletd_left ">
                    <asp:TextBox ID="tbAddStaffId" runat="server" MaxLength="25" Width="130px"></asp:TextBox>
                    <span class="style1">（必填）</span><asp:RequiredFieldValidator 
                        ID="RequiredFieldValidator11" runat="server" 
                        ControlToValidate="tbAddStaffId" Display="Dynamic" ErrorMessage="人员编号不能为空。" 
                        ValidationGroup="Add" ForeColor="Red"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" 
                        ControlToValidate="tbAddStaffId" Display="Dynamic" ErrorMessage="请输入2-25个合法字符。" 
                        ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{2,25}$" 
                        ValidationGroup="Add" ForeColor="Red"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class ="tabletd_right ">
                    密码</td>
                <td class ="tabletd_left ">
                    <asp:TextBox ID="tbAddPassword" runat="server" MaxLength="20" Width="130px"></asp:TextBox>
                    <span class="style1">（必填）</span><asp:RequiredFieldValidator 
                        ID="RequiredFieldValidator13" runat="server" 
                        ControlToValidate="tbAddPassword" Display="Dynamic" ErrorMessage="密码不能为空。" 
                        ValidationGroup="Add" ForeColor="Red"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" 
                        ControlToValidate="tbAddPassword" Display="Dynamic" 
                        ErrorMessage="请输入6-20个合法字符。" 
                        ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{6,20}$" 
                        ValidationGroup="Add" ForeColor="Red"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class ="tabletd_right ">
                    姓名</td>
                <td class ="tabletd_left ">
                    <asp:TextBox ID="tbAddStaffName" runat="server" MaxLength="25" Width="130px"></asp:TextBox>
                    <span class="style1">（必填）</span><asp:RequiredFieldValidator 
                        ID="RequiredFieldValidator14" runat="server" ControlToValidate="tbAddStaffName" 
                        Display="Dynamic" ErrorMessage="姓名不能为空。" ValidationGroup="Add" 
                        ForeColor="Red"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator7" runat="server" 
                        ControlToValidate="tbAddStaffName" Display="Dynamic" 
                        ErrorMessage="请输入2-25个合法字符。" 
                        ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{2,25}$" 
                        ValidationGroup="Add" ForeColor="Red"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td  class ="tabletd_right ">
                    部门</td>
                <td class ="tabletd_left ">
                    <asp:DropDownList ID="ddlAddDepartment" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class ="tabletd_right ">
                    权限</td>
                <td class ="tabletd_left ">
                    <asp:DropDownList ID="ddlAddPost" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class ="tabletd_right ">
                    登录名</td>
                <td class ="tabletd_left ">
                    <asp:TextBox ID="tbAddLoginName" runat="server" MaxLength="20" Width="130px"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" 
                        ControlToValidate="tbAddLoginName" Display="Dynamic" 
                        ErrorMessage="请输入2-20个合法字符。" ForeColor="Red" 
                        ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{2,20}$" 
                        ValidationGroup="Add"></asp:RegularExpressionValidator>
                </td>
            </tr>
              <tr>
                  <td class="tabletd_right ">
                      智能卡</td>
                  <td class="tabletd_left ">
                      <asp:TextBox ID="tbAddCardid" runat="server" MaxLength="50" Width="214px"></asp:TextBox>
                      <asp:RegularExpressionValidator ID="RegularExpressionValidator16" 
                          runat="server" ControlToValidate="tbAddCardid" Display="Dynamic" 
                          ErrorMessage="请输入少于50个合法字符。" ForeColor="Red" 
                          ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{0,50}$" 
                          ValidationGroup="Add"></asp:RegularExpressionValidator>
                  </td>
              </tr>
              <tr>
                  <td class="tabletd_right ">
                      电话</td>
                  <td class="tabletd_left ">
                      <asp:TextBox ID="tbAddTel" runat="server" MaxLength="20" Width="130px"></asp:TextBox>
                      <asp:RegularExpressionValidator ID="RegularExpressionValidator15" 
                          runat="server" ControlToValidate="tbAddTel" Display="Dynamic" 
                          ErrorMessage="请输入正确的电话号码。" ForeColor="Red" 
                          
                          ValidationExpression="(\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$" 
                          ValidationGroup="Add"></asp:RegularExpressionValidator>
                  </td>
              </tr>
            <tr>
                <td class ="tabletd_right ">
                    邮箱</td>
                <td class ="tabletd_left">
                    <asp:TextBox ID="tbAddEmail" runat="server" MaxLength="100" Width="130px"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator14" 
                        runat="server" ControlToValidate="tbAddEmail" Display="Dynamic" 
                        ErrorMessage="请输入正确的邮箱。" 
                        ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*.[a-zA-Z0-9]{2,7}" 
                        ValidationGroup="Add" ForeColor="Red"></asp:RegularExpressionValidator>
                </td>
            </tr>
              <tr>
                  <td class="tabletd_right">
                      &nbsp;</td>
                  <td class="tabletd_left ">
                      <asp:Button ID="btAdd" runat="server" onclick="btAdd_Click" Text="添加" 
                          ValidationGroup="Add" />
                  </td>
              </tr>
            </table>
           </td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->
        </asp:Panel>   
        
<!--  一组内容模块开始   --> 
<asp:Panel ID="Panel2" runat="server" Visible="False">
            <table border="0"  class ="tablezong"  cellpadding="0" cellspacing="0">
      <tr>
        <td style ="height :40px">
        <table class="tablebiaoti"  border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td > <div class ="biaotileft ">修改人员信息</div> </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td  >
        
        <div style ="text-align :left ">
            <table  style =" width :700px" border = "1" class ="table " cellpadding ="0" cellspacing ="0">
                <tr>
                    <td class ="tabletd_right " style ="width :70px ">
                        人员编号</td>
                    <td class ="tabletd_left ">
        <asp:TextBox ID="tbEditStaffId" runat="server" Width="130px" MaxLength="25"></asp:TextBox>
                        <asp:RequiredFieldValidator 
                            ID="RequiredFieldValidator4" runat="server" 
                              ControlToValidate="tbEditStaffId" Display="Dynamic" ErrorMessage="人员编号不能为空。" 
                            ValidationGroup="Edit" ForeColor="Red"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator8" runat="server" 
                            ControlToValidate="tbEditStaffId" Display="Dynamic" 
                            ErrorMessage="请输入2-25个合法字符。" 
                            ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{2,25}$" 
                            ValidationGroup="Edit" ForeColor="Red"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td  class ="tabletd_right ">
                        密码</td>
                    <td class ="tabletd_left ">
                        <asp:TextBox ID="tbEditPassword" runat="server" MaxLength="20" Width="130px"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator10" 
                            runat="server" ControlToValidate="tbEditPassword" Display="Dynamic" 
                            ErrorMessage="请输入6-20个合法字符。" 
                            ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{6,20}$" 
                            ValidationGroup="Edit" ForeColor="Red"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right ">
                        姓名</td>
                    <td class ="tabletd_left ">
                        <asp:TextBox ID="tbEditStaffName" runat="server" MaxLength="25" Width="130px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" 
                            ControlToValidate="tbEditStaffName" Display="Dynamic" ErrorMessage="姓名不能为空。" 
                            ValidationGroup="Edit" ForeColor="Red"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator11" 
                            runat="server" ControlToValidate="tbEditStaffName" Display="Dynamic" 
                            ErrorMessage="请输入2-25个合法字符。" 
                            ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{2,25}$" 
                            ValidationGroup="Edit" ForeColor="Red"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right ">
                        部门</td>
                    <td class ="tabletd_left ">
                        <asp:DropDownList ID="ddlEditDepartment" runat="server">
                        </asp:DropDownList>
                        <asp:Label ID="lbEditDepartment" runat="server" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right ">
                        权限</td>
                    <td class ="tabletd_left">
                        <asp:DropDownList ID="ddlEditPost" runat="server">
                        </asp:DropDownList>
                        <asp:Label ID="lbEditPost" runat="server" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right ">
                        登录名</td>
                    <td class ="tabletd_left">
                        <asp:TextBox ID="tbEditLoginName" runat="server" MaxLength="20" Width="130px"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator9" runat="server" 
                            ControlToValidate="tbEditLoginName" Display="Dynamic" 
                            ErrorMessage="请输入2-20个合法字符。" ForeColor="Red" 
                            ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{2,20}$" 
                            ValidationGroup="Edit"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td class="tabletd_right ">
                        智能卡</td>
                    <td class="tabletd_left">
                        <asp:TextBox ID="tbEditCardid" runat="server" MaxLength="50" Width="214px"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator17" 
                            runat="server" ControlToValidate="tbEditCardid" Display="Dynamic" 
                            ErrorMessage="请输入少于50个合法字符。" ForeColor="Red" 
                            ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{0,50}" 
                            ValidationGroup="Edit"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td class="tabletd_right ">
                        电话</td>
                    <td class="tabletd_left">
                        <asp:TextBox ID="tbEditTel" runat="server" MaxLength="20" Width="130px"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator12" 
                            runat="server" ControlToValidate="tbEditTel" Display="Dynamic" 
                            ErrorMessage="请输入正确的电话号码。" ForeColor="Red" 
                            
                            ValidationExpression="(\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$" 
                            ValidationGroup="Edit"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right">
                        邮箱</td>
                    <td class ="tabletd_left">
                        <asp:TextBox ID="tbEditEmail" runat="server" MaxLength="100" Width="130px"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator13" 
                            runat="server" ControlToValidate="tbEditEmail" Display="Dynamic" 
                            ErrorMessage="请输入正确的邮箱。" 
                            ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*.[a-zA-Z0-9]{2,7}" 
                            ValidationGroup="Edit" ForeColor="Red"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td class ="tabletd_right ">
                        账号状态</td>
                    <td class ="tabletd_left ">
                        <asp:DropDownList ID="ddlEditZhuangtai" runat="server">
                            <asp:ListItem>正常</asp:ListItem>
                            <asp:ListItem>禁用</asp:ListItem>
                            <asp:ListItem>锁定</asp:ListItem>
                        </asp:DropDownList>
                        <asp:Label ID="lbEditZhuangtai" runat="server" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="tabletd_right ">
                        登录选择</td>
                    <td class="tabletd_left ">
                        <asp:DropDownList ID="ddlEditLoginSelect" runat="server">
                            <asp:ListItem Selected="True">全部允许</asp:ListItem>
                            <asp:ListItem>仅人员编号登录</asp:ListItem>
                            <asp:ListItem>仅登录名登录</asp:ListItem>
                        </asp:DropDownList>
                        <asp:Label ID="lbEditLoginSelect" runat="server" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="tabletd_right ">
                        <asp:Label ID="lbEditId" runat="server" Visible="False"></asp:Label>
                    </td>
                    <td class="tabletd_left ">
                        <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="提交修改" 
                            ValidationGroup="Edit" />
                    </td>
                </tr>
            </table>
 </div></td>
      </tr>
    </table>
            </asp:Panel>
<!-- 一组内容模块结束 --> 
   
    </td>
    <td  style =" background-image:url(../css/admincss/images/mail_rightbg.gif )" >
    </td>
  </tr>
  <tr>
    <td  class ="buttom_bg_left "></td>
    <td class ="buttom_bg_center " >&nbsp;</td>
    <td  class ="buttom_bg_right " ></td>
  </tr>
</table>
    </div>
    </form>
</body>
</html>
