<%@ page language="VB" masterpagefile="~/Page.master" autoeventwireup="false" inherits="WebExam.Web.secure_storage_testadmin, App_Web_kxoiohy4" %>

<asp:Content ID="Content1" ContentPlaceHolderID="mainCopy" runat="Server">

    <script type="text/javascript">
function addUser(){
   var arr = showModalDialog("../../department/users/allusers.htm?o=0", "", "dialogHeight:540px;dialogWidth:630px;help:0; status:0");

  if (arr==null) return;

  document.getElementById("<%= TB_User.ClientID() %>").value =join(arr[0]);
  
   




}
function join(arr){
  var t="";
  for(var i=0;i<arr.length;i++){
    t+=arr[i].toString()+",";
  }
 
  return t.substr(0,t.length -1); 
}
    </script>

    <div style="text-align: center; font-weight: bold; margin-top: 10">
        &quot;<asp:Label ID="L_subjectName" runat="server" Text=""></asp:Label>&quot; 题库管理员列表</div>
    <div style="text-align: center; width: 100%;">
        <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None"
            AutoGenerateColumns="False" align="center">
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <RowStyle BackColor="#EFF3FB" />
            <Columns>
                <asp:BoundField DataField="id" Visible="False" />
                <asp:BoundField DataField="userid" HeaderText="用户" ItemStyle-Width="200" />
                <asp:CommandField ShowDeleteButton="True" />
            </Columns>
            <PagerStyle BackColor="#2461BF" ForeColor="White" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle HorizontalAlign="Center"  BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#2461BF" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
        
        <asp:TextBox ID="TB_User" runat="server"></asp:TextBox>
        <img onclick="addUser()" src="../../images/rs.gif" alt="选择用户" />
        <asp:Button ID="Btn_add" runat="server" Text="添加为题库管理员" />
        <asp:Label ID="L_exMsg" runat="server" Text="" ForeColor="Red" Visible="False"></asp:Label>
    </div>
</asp:Content>
