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

<%@ Register Assembly="ShopNum1.Control" Namespace="ShopNum1.Control" TagPrefix="cc1" %>
<%@ Register Src="UserControl/MessageShow.ascx" TagName="MessageShow" TagPrefix="ShopNum1" %>
<!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>线下活动报名管理</title>
    <link type="text/css" rel="Stylesheet" href="css/index.css" />

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

</head>
<body style="padding: 0; background-image: url(images/Bg_right.gif); background-repeat: repeat;
    font-size: 12px">
    <form id="form1" runat="server">
    <div class="navigator">
        <asp:Label ID="LabelPageTitle" runat="server" Text="【 线下活动报名管理 】"></asp:Label></div>
    <div>
        <table>
            <tr>
                <td width="15%" align="right">
                    <asp:Label ID="LabelActiveName" runat="server" Text="活动名称："></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="TextBoxActiveName" runat="server" CssClass=" input1"></asp:TextBox>
                </td>
                <td width="15%" align="right">
                    <asp:Label ID="LabelMemLoingID" runat="server" Text="登录名："></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="TextBoxMemLoingID" runat="server" CssClass=" input1"></asp:TextBox>
                </td>
                <td width="15%" align="right">
                    <asp:Label ID="Labelname" runat="server" Text="报名姓名："></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="TextBoxname" runat="server" CssClass=" input1"></asp:TextBox>
                </td>
                <td width="15%" align="center">
                    <asp:Button ID="Button1" runat="server" class="bt2" OnClick="ButtonSearch_Click"
                        Text="查询" />
                </td>
                <td>
                </td>
            </tr>
        </table>
    </div>
    <table style="width: 100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
            <td align="left">
                <cc1:Num1GridView ID="Num1GridViewShow" runat="server" AutoGenerateColumns="False"
                    AllowPaging="True" AllowSorting="True" AscendingImageUrl="~/images/SortAsc.gif"
                    DescendingImageUrl="~/images/SortDesc.gif" Width="100%" AddSequenceColumn="False"
                    AllowMultiColumnSorting="False" BorderColor="#CCDDEF" BorderStyle="Solid" BorderWidth="1px"
                    CellPadding="4" Del="False" DeletePromptText="确实要删除指定的记录吗？" Edit="False" FixHeader="False"
                    GridViewSortDirection="Ascending" PagingStyle="None" Style="margin-left: 2px;"
                    TableName="" Font-Size="Small" DataSourceID="ObjectDataSourceData">
                    <HeaderStyle HorizontalAlign="Center" BackColor="#6699CC" Font-Bold="True" ForeColor="#FFFFFF">
                    </HeaderStyle>
                    <PagerStyle HorizontalAlign="Left" BackColor="#EEEEEE" ForeColor="#6699CC"></PagerStyle>
                    <Columns>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                <input id="checkboxAll" onclick="javascript:SelectAllCheckboxes(this);" type="checkbox" />
                            </HeaderTemplate>
                            <ItemTemplate>
                                <input id="checkboxItem" value='<%# Eval("Guid") %>' type="checkbox" />
                            </ItemTemplate>
                            <ItemStyle HorizontalAlign="Center" Width="30px" />
                        </asp:TemplateField>
                        <asp:BoundField DataField="Guid" HeaderText="Guid" Visible="False" />
                        <asp:BoundField DataField="ActiveName" HeaderText="活动名称" SortExpression="Title" />
                        <asp:BoundField DataField="MemLoingID" HeaderText="用户名" SortExpression="MemLoingID">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="姓名" DataField="name" SortExpression="name" />
                        <asp:BoundField DataField="TelPhone" HeaderText="电话" SortExpression="TelPhone">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="地址" DataField="Address" SortExpression="Address">
                            <ItemStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="备注" DataField="Remark" SortExpression="Remark" />
                    </Columns>
                </cc1:Num1GridView>
            </td>
        </tr>
        <tr>
            <td align="left">
                <div class="vote">
                    <asp:Button ID="ButtonDelete" runat="server" Text="删除" OnClientClick="return DeleteButton()"
                        OnClick="ButtonDelete_Click" CssClass="bt2" />
                    <ShopNum1:MessageShow ID="MessageShow" runat="server" Visible="False" />
                </div>
            </td>
        </tr>
    </table>
    <asp:ObjectDataSource ID="ObjectDataSourceData" runat="server" SelectMethod="Search"
        TypeName="GroupFlyTG.BusinessLogic.GroupFlyTG_ActiveMember_Action" OldValuesParameterFormatString="original_{0}">
        <SelectParameters>
            <asp:ControlParameter ControlID="TextBoxActiveName" Name="ActiveName" PropertyName="Text"
                Type="String" />
            <asp:ControlParameter ControlID="TextBoxMemLoingID" Name="memLoingId" PropertyName="Text"
                Type="String" />
            <asp:ControlParameter ControlID="TextBoxname" Name="name" PropertyName="Text" Type="String" />
            <asp:Parameter DefaultValue="0" Name="delete" Type="Int32" />
        </SelectParameters>
    </asp:ObjectDataSource>
    <asp:HiddenField ID="CheckGuid" runat="server" Value="0" />
    </form>
</body>
</html>
