<%@ page language="C#" autoeventwireup="true" inherits="ProduceAdmin_ProduceUser_List, GroupTGWeb_deploy" %>

<%@ Register Src="UserControl/MessageShow.ascx" TagName="MessageShow" TagPrefix="China315" %>
<%@ Register Assembly="GroupFly.Control" Namespace="GroupFly.Control" TagPrefix="cc1" %>
<!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 rel="stylesheet" type="text/css" href="style/index.css" />

    <script type="text/javascript" language="javascript" src="../../js/CommonJS.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div class="main">
        <div class="table1">
            <div class="title">
                <asp:Label ID="LabelTitle" runat="server" Text="管理员列表"></asp:Label>
            </div>
        
                <cc1:groupflygridview id="GroupFlyGridViewShow" runat="server" addsequencecolumn="False"
                    allowmulticolumnsorting="False" autogeneratecolumns="False" bordercolor="#CCDDEF"
                    borderstyle="Solid" borderwidth="0px" cellpadding="0" del="False" deleteprompttext="确实要删除指定的记录吗？"
                    edit="False" fixheader="False" gridviewsortdirection="Ascending" cellspacing="1"
                    gridlines="None" pagingstyle="None" tablename="" width="100%" alternatingrowstyle-horizontalalign="Center"
                    allowsorting="True" datasourceid="ObjectDataSourceDate" rowstyle-horizontalalign="Center"
                    style="margin-left: 0px;">
                    <HeaderStyle BackColor="#6699CC" Font-Bold="True" ForeColor="#FFFFFF"></HeaderStyle>
                    <PagerStyle BackColor="#EEEEEE" ForeColor="#6699CC"></PagerStyle>
                    <AlternatingRowStyle HorizontalAlign="Center"></AlternatingRowStyle>
                    <Columns>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                <input id="checkboxAll" onclick="javascript:SelectAllCheckboxes(this);" type="checkbox" />
                            </HeaderTemplate>
                            <ItemTemplate>
                                <input id="checkboxItem" value='<%# Eval("Guid") %>' type="checkbox" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField HeaderText="用户名" DataField="UserName" />
                    </Columns>
                    <RowStyle HorizontalAlign="Center"></RowStyle>
                </cc1:groupflygridview>
        
        </div>
    </div>
    <div class="vote">
        <asp:Button ID="ButtonAdd" runat="server" Text="添加" CssClass="bnt1 cancel" OnClick="ButtonAdd_Click" />
        <asp:Button ID="ButtonEdit" runat="server" Text="编辑" CssClass="bnt1 cancel " OnClientClick="return EditButton()"
            OnClick="ButtonEdit_Click" />
        <asp:Button ID="ButtonDelete" runat="server" Text="删除" CssClass="bnt1 cancel" OnClientClick="return DeleteButton()"
            OnClick="ButtonDelete_Click" />
        <china315:messageshow id="MessageShow" visible="false" runat="server" />
    </div>
    <asp:ObjectDataSource ID="ObjectDataSourceDate" runat="server" SelectMethod="Search"
        TypeName="GroupFly.ProduceBusinessLogic.GroupFlyProduce_User_Action" 
        OldValuesParameterFormatString="original_{0}">
        <SelectParameters>
            <asp:ControlParameter ControlID="ProduceMemLoginID" Name="ProduceMemLoginID" 
                PropertyName="Value" Type="String" />
        </SelectParameters>
    </asp:ObjectDataSource>
    <asp:HiddenField ID="CheckGuid" runat="server" Value="0" />
    <asp:HiddenField ID="ProduceMemLoginID" runat ="server" Value ="0" />
    </form>
</body>
</html>
