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

<!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 id="Head1" runat="server">
    <title>OA标题页</title>
<link href="../../css/admincss/skin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../../css/popcalendar.js"></script>
</head>
<body>
    <form id="form1" runat="server" >
<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 " >

   <!--  一组内容模块开始   --> 
    <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>
        <div>
                      <asp:Label ID="lbMessageManager" runat="server" ForeColor="Red"></asp:Label>
                    </div>
<div>
<asp:GridView ID="GridView1" runat="server" Width="100%" CssClass="gv" 
            cellspacing="1" BorderWidth="1px" onrowediting="GridView1_RowEditing" 
                AutoGenerateColumns="False" onrowupdating="GridView1_RowUpdating" 
                onrowcancelingedit="GridView1_RowCancelingEdit" 
                onrowdeleting="GridView1_RowDeleting" 
        onrowdatabound="gv_RowDataBound" >
            <RowStyle  CssClass="gvrow" BorderWidth="1px" />
                <Columns>
                    <asp:BoundField DataField="staffnumber" HeaderText="人员编号" ReadOnly="True" />
                    <asp:BoundField DataField="staffname" HeaderText="姓名" ReadOnly="True" />
                    <asp:TemplateField HeaderText="管理级别">
                        <EditItemTemplate>
                    <asp:DropDownList ID="ddlCheckergrade" runat="server">
                        <asp:ListItem>审核人</asp:ListItem>
                        <asp:ListItem>审批人</asp:ListItem>
                    </asp:DropDownList>

                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label2" runat="server" Text='<%# Bind("checkergrade") %>'></asp:Label>
                            &nbsp;
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:CommandField EditText="修改" HeaderText="修改" ShowEditButton="True" />
                    <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />

                    
                </Columns>
            <HeaderStyle  CssClass="gvhead"  />
        </asp:GridView>
         人员编号：                <asp:TextBox ID="tbStaffnumber" runat="server" Width ="160px"></asp:TextBox> 
                  <asp:Button ID="btsearchStaff" runat="server" Text="查询" onclick="btsearchStaff_Click" />

                 &nbsp;&nbsp;管理级别：
                                     <asp:DropDownList ID="ddlCheckergrade" runat="server">
                        <asp:ListItem>审核人</asp:ListItem>
                        <asp:ListItem>审批人</asp:ListItem>
                    </asp:DropDownList>
                    <asp:Button ID="btCheckergrade" runat="server" Text="添加" 
                        onclick="btCheckergrade_Click" />
                                            &nbsp;<asp:Label ID="lbStaffnumbernote" runat="server"></asp:Label>
                                            <asp:Label ID="lbStaffnumber" runat="server"></asp:Label>
                                            <asp:Label ID="lbStaffnamenote" runat="server"></asp:Label>
                                            <asp:Label ID="lbStaffname" runat="server"></asp:Label>
                    </div>
        </td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->
    </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 " ></td>
    <td  class ="buttom_bg_right " ></td>
  </tr>
</table>
    </div>
    </form>
</body>
</html>