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

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>

<!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>
   <script language="javascript" type="text/javascript">
  function clickme(id,name)
  {
    window.dialogArguments.document.getElementById("TEXTAREA1").value+=name+",";
    window.dialogArguments.document.getElementById("to_id").value+=id+",";
   
  }
   </script> 
</head>
<body>
    <form id="form1" runat="server">
    <div> <asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
                SelectMethod="User_GetList" TypeName="hqgl.user.userchuli" OldValuesParameterFormatString="original_{0}" EnableViewState="False">
                <SelectParameters>
                    <asp:QueryStringParameter DefaultValue="" Name="pid" QueryStringField="id" Type="String" />
                </SelectParameters>
            </asp:ObjectDataSource>
            <asp:GridView ID="GridView1" runat="server" AllowSorting="True"
                AutoGenerateColumns="False" CellPadding="4" DataKeyNames="u_id" DataSourceID="ObjectDataSource1"
                ForeColor="#333333" GridLines="None" OnRowDataBound="GridView1_RowDataBound" ShowHeader="False" EnableViewState="False" >
                <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                <Columns>
                    <asp:BoundField DataField="u_name" HeaderText="真实姓名">
                        <ItemStyle Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="dept_name" HeaderText="部门" >
                        <ItemStyle Width="100px" />
                    </asp:BoundField>
                </Columns>
                <RowStyle BackColor="#E3EAEB" />
                <EditRowStyle BackColor="#7C6F57" />
                <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
                <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                <AlternatingRowStyle BackColor="White" />
            </asp:GridView>
    </div>
    </form>
</body>
</html>
