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

<%@ Register Assembly="ShopNum1.Control" Namespace="ShopNum1.Control" TagPrefix="cc1" %>
<%@ Register Src="UserControl/MessageShow.ascx" TagName="MessageShow" TagPrefix="ShopNum1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" 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>

    <style type="text/css">
        .style1
        {
            text-align: left;
        }
        .style2
        {
            height: 25px;
        }
    </style>
</head>
<body style="padding: 0; background-image: url(images/Bg_right.gif); background-repeat: repeat;">
    <form id="form1" runat="server">
    <ShopNum1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnableScriptGlobalization="True"
        EnableScriptLocalization="True" />
    <div class="navigator">
        【 团购活动列表 】</div>
    <div class="query">
        <table style="width: 100%" cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td align="right" width="8%">
                    <asp:Label ID="LabelBrief" runat="server" Text="活动简介："></asp:Label>
                </td>
                <td class="style1">
                    <asp:TextBox ID="TextBoxBrief" runat="server" CssClass="input1" MaxLength="30"></asp:TextBox>
                </td>
                <td align="right">
                    <asp:Label ID="LabelProductTypeGuid" runat="server" Text="活动分类："></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="DropDownListProductTypeGuid" runat="server" CssClass="select1">
                        <asp:ListItem Value="-1" Selected="True">-全部-</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td align="right" class="style3">
                    <asp:Label ID="LabelSupplierGuid" runat="server" Text="供应商："></asp:Label>
                </td>
                <td class="style2">
                    <asp:DropDownList ID="DropDownListSupplierGuid" runat="server" CssClass="select1">
                        <asp:ListItem Value="-1" Selected="True">-全部-</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="LabelRepertoryNumber" runat="server" Text="库存编号："></asp:Label>
                </td>
                <td class="style1">
                    <asp:TextBox ID="TextBoxRepertoryNumber" runat="server" CssClass="input1" MaxLength="30"></asp:TextBox>
                </td>
                <td align="right">
                    <asp:Label ID="LabelIsReal" runat="server" Text="活动性质："></asp:Label>
                </td>
                <td align="left">
                    <asp:DropDownList ID="DropDownListIsReal" runat="server" CssClass="select1">
                        <asp:ListItem Value="-1" Selected="True">-全部-</asp:ListItem>
                        <asp:ListItem Value="1">实体团购活动</asp:ListItem>
                        <asp:ListItem Value="0">虚拟团购活动</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td align="right">
                    <asp:Label ID="LabelCityCode" runat="server" Text="城市："></asp:Label>
                </td>
                <td align="left">
                    <asp:DropDownList ID="DropDownListCityCode" runat="server" CssClass="select1">
                        <asp:ListItem Value="-1">-全部-</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="LabelMinMemberCount" runat="server" Text="最低人数："></asp:Label>
                </td>
                <td align="right" style="text-align: left">
                    <asp:TextBox ID="TextBoxMinMemberCount1" runat="server" CssClass="input1" MaxLength="7"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorMinMemberCount1" runat="server"
                        ControlToValidate="TextBoxMinMemberCount1" ErrorMessage="只能输入数字" ValidationExpression="^[0-9]*$"
                        Display="Dynamic"></asp:RegularExpressionValidator>
                    -
                    <asp:TextBox ID="TextBoxMinMemberCount2" runat="server" CssClass="input1" Width="120px"
                        MaxLength="7"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorMinMemberCount2" runat="server"
                        ControlToValidate="TextBoxMinMemberCount2" ErrorMessage="只能输入数字" ValidationExpression="^[0-9]*$"
                        Display="Dynamic"></asp:RegularExpressionValidator>
                </td>
                <td align="right">
                    <asp:Label ID="LabelBuyCount" runat="server" Text="购买量："></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="TextBoxBuyCount1" runat="server" CssClass="input1" MaxLength="7"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorBuyCount1" runat="server"
                        ControlToValidate="TextBoxBuyCount1" ErrorMessage="只能输入数字" ValidationExpression="^[0-9]*$"
                        Display="Dynamic"></asp:RegularExpressionValidator>-
                    <asp:TextBox ID="TextBoxBuyCount2" runat="server" CssClass="input1" MaxLength="7"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorBuyCount2" runat="server"
                        ControlToValidate="TextBoxBuyCount2" ErrorMessage="只能输入数字" ValidationExpression="^[0-9]*$"
                        Display="Dynamic"></asp:RegularExpressionValidator>
                </td>
                <td align="right">
                    <asp:Label ID="LabelIsRecommend" runat="server" Text="是否推荐："></asp:Label>
                </td>
                <td align="left">
                    <asp:DropDownList ID="DropDownListIsRecommend" runat="server" CssClass="select1">
                        <asp:ListItem Value="-1">-全部-</asp:ListItem>
                        <asp:ListItem Value="1">是</asp:ListItem>
                        <asp:ListItem Value="0">否</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="LabelRepertoryCount" runat="server" Text="库存量："></asp:Label>
                </td>
                <td align="right" style="text-align: left">
                    <asp:TextBox ID="TextBoxRepertoryCount1" runat="server" CssClass="input1"  MaxLength="7"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorRepertoryCount1" runat="server"
                        ControlToValidate="TextBoxRepertoryCount1" ErrorMessage="只能输入数字" ValidationExpression="^[0-9]*$"
                        Display="Dynamic"></asp:RegularExpressionValidator>
                    -
                    <asp:TextBox ID="TextBoxRepertoryCount2" runat="server" CssClass="input1"  MaxLength="7"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorRepertoryCount2" runat="server"
                        ControlToValidate="TextBoxRepertoryCount2" ErrorMessage="只能输入数字" ValidationExpression="^[0-9]*$"
                        Display="Dynamic"></asp:RegularExpressionValidator>
                </td>
                <td align="right">
                    <asp:Label ID="LabelSaleNumber" runat="server" Text="已销数量："></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="TextBoxSaleNumber1" runat="server" CssClass="input1"  MaxLength="7"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorSaleNumber1" runat="server"
                        ControlToValidate="TextBoxSaleNumber1" ErrorMessage="只能输入数字" ValidationExpression="^[0-9]*$"
                        Display="Dynamic"></asp:RegularExpressionValidator>
                    -
                    <asp:TextBox ID="TextBoxSaleNumber2" runat="server" CssClass="input1"  MaxLength="7"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorSaleNumber2" runat="server"
                        ControlToValidate="TextBoxSaleNumber2" ErrorMessage="只能输入数字" ValidationExpression="^[0-9]*$"
                        Display="Dynamic"></asp:RegularExpressionValidator>
                </td>
                <td align="right">
                    <asp:Label ID="LabelKeywords" runat="server" Text="关键字："></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="TextBoxKeywords" runat="server" CssClass="input1"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="LabelShopPrice" runat="server" Text="团购售价："></asp:Label>
                </td>
                <td class="style1">
                    <asp:TextBox ID="TextBoxShopPrice1" runat="server" CssClass="input1"  MaxLength="7"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorShopPrice1" runat="server"
                        ControlToValidate="TextBoxShopPrice1" Display="Dynamic" ErrorMessage="价格格式不正确"
                        ValidationExpression="^[0-9]+(.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                    -
                    <asp:TextBox ID="TextBoxShopPrice2" runat="server" CssClass="input1"  MaxLength="7"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorShopPrice2" runat="server"
                        ControlToValidate="TextBoxShopPrice2" Display="Dynamic" ErrorMessage="价格格式不正确"
                        ValidationExpression="^[0-9]+(.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                </td>
                <td align="right">
                    <asp:Label ID="LabelStartTime" runat="server" Text="开始时间："></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="TextBoxStartTime1" runat="server" CssClass="input1"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TextBoxStartTime1"
                        Display="Dynamic" ErrorMessage="时间格式不正确" ValidationExpression="^((((1[6-9]|[2-9]\d)\d{2})-(0?[13578]|1[02])-(0?[1-9]|[12]\d|3[01]))|(((1[6-9]|[2-9]\d)\d{2})-(0?[13456789]|1[012])-(0?[1-9]|[12]\d|30))|(((1[6-9]|[2-9]\d)\d{2})-0?2-(0?[1-9]|1\d|2[0-9]))|(((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))-0?2-29-))$">
</asp:RegularExpressionValidator>
                    <img id="imgStartTime1" alt="" src="images/Calendar.png" style="width: 16px; height: 18px;"
                        align="absmiddle" /> 
                    <ShopNum1:CalendarExtender ID="CalendarExtender3" runat="server" TargetControlID="TextBoxStartTime1"
                        PopupButtonID="imgStartTime1" CssClass="ajax__calendar">
                    </ShopNum1:CalendarExtender>
                    -
                    <asp:TextBox ID="TextBoxStartTime2" runat="server" CssClass="input1"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBoxStartTime2"
                        Display="Dynamic" ErrorMessage="时间格式不正确" ValidationExpression="^\d{4}-(\d{2}|\d{1})-(\d{2}|\d{1})( (\d{2}|\d{1}):(\d{2}|\d{1}):(\d{2}|\d{1}))*"></asp:RegularExpressionValidator>
                    <img id="imgStartTime2" alt="" src="images/Calendar.png" style="width: 16px; height: 18px;"
                        align="absmiddle" />
                    <ShopNum1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="TextBoxStartTime2"
                        PopupButtonID="imgStartTime2" CssClass="ajax__calendar">
                    </ShopNum1:CalendarExtender>
                </td>
                <td align="center" colspan="2" rowspan="3">
                    <asp:Button ID="ButtonSearch" runat="server" OnClick="ButtonSearch_Click" Text="查询"
                        CssClass="bt2" />
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="LabelMarketPrice" runat="server" Text="市场价："></asp:Label>
                </td>
                <td class="style1">
                    <asp:TextBox ID="TextBoxMarketPrice1" runat="server" CssClass="input1"  MaxLength="7"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorMarketPrice1" runat="server"
                        ControlToValidate="TextBoxMarketPrice1" Display="Dynamic" ErrorMessage="价格格式不正确"
                        ValidationExpression="^[0-9]+(.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                    -
                    <asp:TextBox ID="TextBoxMarketPrice2" runat="server" CssClass="input1"  MaxLength="7"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorMarketPrice2" runat="server"
                        ControlToValidate="TextBoxMarketPrice2" Display="Dynamic" ErrorMessage="价格格式不正确"
                        ValidationExpression="^[0-9]+(.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                </td>
                <td align="right">
                    <asp:Label ID="LabelEndTime" runat="server" Text="结束时间："></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="TextBoxEndTime1" runat="server" CssClass="input1"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="TextBoxEndTime1"
                        Display="Dynamic" ErrorMessage="时间格式不正确" ValidationExpression="^\d{4}-(\d{2}|\d{1})-(\d{2}|\d{1})( (\d{2}|\d{1}):(\d{2}|\d{1}):(\d{2}|\d{1}))*"></asp:RegularExpressionValidator>
                    <img id="imgEndTime1" alt="" src="images/Calendar.png" style="width: 16px; height: 18px;"
                        align="absmiddle" />
                    <ShopNum1:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="TextBoxEndTime1"
                        PopupButtonID="imgEndTime1" CssClass="ajax__calendar">
                    </ShopNum1:CalendarExtender>
                    -
                    <asp:TextBox ID="TextBoxEndTime2" runat="server" CssClass="input1"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ControlToValidate="TextBoxEndTime2"
                        Display="Dynamic" ErrorMessage="时间格式不正确" ValidationExpression="^\d{4}-(\d{2}|\d{1})-(\d{2}|\d{1})( (\d{2}|\d{1}):(\d{2}|\d{1}):(\d{2}|\d{1}))*"></asp:RegularExpressionValidator>
                    <img id="imgEndTime2" alt="" src="images/Calendar.png" style="width: 16px; height: 18px;"
                        align="absmiddle" />
                    <ShopNum1:CalendarExtender ID="CalendarExtender4" runat="server" TargetControlID="TextBoxEndTime2"
                        PopupButtonID="imgEndTime2" CssClass="ajax__calendar">
                    </ShopNum1:CalendarExtender>
                </td>
            </tr>
            <tr>
                <td align="right">
                    浏览量：
                </td>
                <td class="style1">
                    <asp:TextBox ID="TextBoxClickCount1" runat="server" CssClass="input1"  MaxLength="7"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorClickCount1" runat="server"
                        ControlToValidate="TextBoxClickCount1" ErrorMessage="只能输入数字" ValidationExpression="^[0-9]*$"
                        Display="Dynamic"></asp:RegularExpressionValidator>-
                    <asp:TextBox ID="TextBoxClickCount2" runat="server" CssClass="input1"  MaxLength="7"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorClickCount2" runat="server"
                        ControlToValidate="TextBoxClickCount2" ErrorMessage="只能输入数字" ValidationExpression="^[0-9]*$"
                        Display="Dynamic"></asp:RegularExpressionValidator>
                </td>
                <td align="right">
                    <asp:Label ID="LabelExpiredTime" runat="server" Text="过期时间："></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="TextBoxExpiredTime1" runat="server" CssClass="input1"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" ControlToValidate="TextBoxExpiredTime1"
                        Display="Dynamic" ErrorMessage="格式不正确" ValidationExpression="^\d{4}-(\d{2}|\d{1})-(\d{2}|\d{1})( (\d{2}|\d{1}):(\d{2}|\d{1}):(\d{2}|\d{1}))*"></asp:RegularExpressionValidator>
                    <img id="imgExpiredTime" alt="" src="images/Calendar.png" style="width: 16px; height: 18px;"
                        align="absmiddle" />
                    <ShopNum1:CalendarExtender ID="CalendarExtender5" runat="server" TargetControlID="TextBoxExpiredTime1"
                        PopupButtonID="imgExpiredTime" CssClass="ajax__calendar">
                    </ShopNum1:CalendarExtender>
                    -
                    <asp:TextBox ID="TextBoxExpiredTime2" runat="server" CssClass="input1"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" ControlToValidate="TextBoxExpiredTime2"
                        Display="Dynamic" ErrorMessage="格式不正确" ValidationExpression="^\d{4}-(\d{2}|\d{1})-(\d{2}|\d{1})( (\d{2}|\d{1}):(\d{2}|\d{1}):(\d{2}|\d{1}))*"></asp:RegularExpressionValidator>
                    <img id="imgExpiredTime2" alt="" src="images/Calendar.png" style="width: 16px; height: 18px;"
                        align="absmiddle" />
                    <ShopNum1:CalendarExtender ID="CalendarExtender6" runat="server" TargetControlID="TextBoxExpiredTime2"
                        PopupButtonID="imgExpiredTime2" CssClass="ajax__calendar">
                    </ShopNum1:CalendarExtender>
                    <br />
                </td>
            </tr>
        </table>
    </div>
    <table style="width: 100%">
        <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:TemplateField HeaderText="活动简介" SortExpression="Name">
                            <ItemTemplate>
                                <a href='<%# "Active_Operate.aspx?Guid="+ Eval("Guid") %>'>
                                    <asp:Label ID="Label1" runat="server" Text='<%# ReturnTitle(Eval("Brief")) %>'></asp:Label></a>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="CityName" HeaderText="城市" SortExpression="CityName" />
                        <asp:BoundField DataField="RepertoryNumber" HeaderText="货号" SortExpression="RepertoryNumber" />
                        <asp:BoundField HeaderText="入库量" DataField="RepertoryCount" SortExpression="RepertoryCount">
                        </asp:BoundField>
                        <asp:BoundField DataField="SurplusCount" HeaderText="现存库量" SortExpression="SurplusCount" />
                        <asp:BoundField DataField="SaleNumber" HeaderText="已购买" SortExpression="SaleNumber" />
                        <asp:BoundField DataField="MinMemberCount" HeaderText="最低人数" SortExpression="MinMemberCount" />
                        <asp:BoundField DataField="MarketPrice" HeaderText="市场价" SortExpression="MarketPrice">
                        </asp:BoundField>
                        <asp:BoundField DataField="ShopPrice" HeaderText="本店售价" SortExpression="ShopPrice">
                        </asp:BoundField>
                        <asp:BoundField DataField="StartTime" HeaderText="开始时间" SortExpression="StartTime" />
                        <asp:BoundField DataField="EndTime" HeaderText="结束时间" SortExpression="EndTime" />
                        <asp:TemplateField HeaderText="是否VIP专有" SortExpression="IsAloneVip">
                            <ItemTemplate>
                                <asp:Label ID="LabelAloneVip" runat="server" Text='<%# ChangeIsAloneVip(Eval("IsAloneVip").ToString()) %>'></asp:Label>
                            </ItemTemplate>
                            <ItemStyle Font-Bold="true" ForeColor="Red" HorizontalAlign="Center" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="推荐返利" SortExpression="CanJoin">
                            <ItemTemplate>
                                <asp:Label ID="Label2" runat="server" Text='<%# ChangeCanJion(Eval("CanJoin").ToString()) %>'></asp:Label>
                            </ItemTemplate>
                            <ItemStyle Font-Bold="True" Font-Size="Large" ForeColor="Red" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="推荐活动" SortExpression="IsRecommend">
                            <ItemTemplate>
                                <asp:Label ID="Label5" runat="server" Text='<%# ChangeIsRecommend(DataBinder.Eval(Container, "DataItem(IsRecommend)","{0}")) %>'>
                                </asp:Label>
                            </ItemTemplate>
                            <ItemStyle Font-Bold="True" Font-Size="Large" ForeColor="Red" />
                        </asp:TemplateField>
                    </Columns>
                </cc1:Num1GridView>
            </td>
        </tr>
        <tr>
            <td align="left">
                <div class="vote">
                    <asp:Button ID="ButtonAdd" runat="server" OnClick="ButtonAdd_Click" OnClientClick="GetCheckedBoxValues()"
                        Text="添加" CausesValidation="False" CssClass="bt2" />
                    <asp:Button ID="ButtonEdit" runat="server" OnClientClick="return EditButton()" Text="编辑"
                        CausesValidation="False" CssClass="bt2" OnClick="ButtonEdit_Click" />
                    <asp:Button ID="ButtonDelete" runat="server" OnClientClick="return DeleteButton()"
                        Text="删除" CausesValidation="False" CssClass="bt2" OnClick="ButtonDelete_Click" />
                    <ShopNum1:MessageShow ID="MessageShow" runat="server" Visible="False" />
                </div>
            </td>
        </tr>
    </table>
    <%--                   <input ID="checkboxItem"   onclick="GetItmeValue(this)" type="checkbox" />--%><br />
    <asp:HiddenField ID="CheckGuid" runat="server" Value="0" />
    <asp:ObjectDataSource ID="ObjectDataSourceData" runat="server" SelectMethod="Search"
        TypeName="GroupFlyTG.BusinessLogic.GroupFlyTG_Active_Action" OldValuesParameterFormatString="original_{0}">
        <SelectParameters>
            <asp:ControlParameter ControlID="TextBoxBrief" Name="Brief" PropertyName="Text" Type="String" />
            <asp:ControlParameter ControlID="TextBoxRepertoryNumber" Name="repertoryNumber" PropertyName="Text"
                Type="String" />
            <asp:ControlParameter ControlID="TextBoxRepertoryCount1" Name="RepertoryCount1" PropertyName="Text"
                Type="String" />
            <asp:ControlParameter ControlID="TextBoxRepertoryCount2" Name="RepertoryCount2" PropertyName="Text"
                Type="String" />
            <asp:ControlParameter ControlID="TextBoxMarketPrice1" Name="MarketPrice1" PropertyName="Text"
                Type="String" />
            <asp:ControlParameter ControlID="TextBoxMarketPrice2" Name="MarketPrice2" PropertyName="Text"
                Type="String" />
            <asp:ControlParameter ControlID="TextBoxShopPrice1" Name="ShopPrice1" PropertyName="Text"
                Type="String" />
            <asp:ControlParameter ControlID="TextBoxShopPrice2" Name="ShopPrice2" PropertyName="Text"
                Type="String" />
            <asp:ControlParameter ControlID="TextBoxClickCount1" Name="ClickCount1" PropertyName="Text"
                Type="String" />
            <asp:ControlParameter ControlID="TextBoxClickCount2" Name="ClickCount2" PropertyName="Text"
                Type="String" />
            <asp:Parameter Name="CollectCount1" Type="String" />
            <asp:Parameter Name="CollectCount2" Type="String" />
            <asp:ControlParameter ControlID="TextBoxBuyCount1" Name="BuyCount1" PropertyName="Text"
                Type="String" />
            <asp:ControlParameter ControlID="TextBoxBuyCount2" Name="BuyCount2" PropertyName="Text"
                Type="String" />
            <asp:Parameter Name="CommentCount1" Type="String" />
            <asp:Parameter Name="CommentCount2" Type="String" />
            <asp:Parameter Name="ReferCount1" Type="String" />
            <asp:Parameter Name="ReferCount2" Type="String" />
            <asp:ControlParameter ControlID="TextBoxSaleNumber1" Name="SaleNumber1" PropertyName="Text"
                Type="String" />
            <asp:ControlParameter ControlID="TextBoxSaleNumber2" Name="SaleNumber2" PropertyName="Text"
                Type="String" />
            <asp:ControlParameter ControlID="DropDownListIsRecommend" Name="isRecommend" PropertyName="SelectedValue"
                Type="Int32" />
            <asp:ControlParameter ControlID="DropDownListIsReal" Name="IsReal" PropertyName="SelectedValue"
                Type="Int32" />
            <asp:ControlParameter ControlID="TextBoxKeywords" Name="Keywords" PropertyName="Text"
                Type="String" />
            <asp:ControlParameter ControlID="DropDownListSupplierGuid" Name="supplierGuid" PropertyName="SelectedValue"
                Type="String" />
            <asp:ControlParameter ControlID="DropDownListProductTypeGuid" PropertyName="SelectedValue"
                Name="ProductTypeGuid" Type="String"></asp:ControlParameter>
            <asp:ControlParameter ControlID="TextBoxMinMemberCount1" Name="MinMemberCount1" PropertyName="Text"
                Type="String" />
            <asp:ControlParameter ControlID="TextBoxMinMemberCount2" Name="MinMemberCount2" PropertyName="Text"
                Type="String" />
            <asp:ControlParameter ControlID="TextBoxExpiredTime1" Name="ExpiredTime1" PropertyName="Text"
                Type="String" />
            <asp:ControlParameter ControlID="TextBoxExpiredTime2" Name="ExpiredTime2" PropertyName="Text"
                Type="String" />
            <asp:ControlParameter ControlID="TextBoxStartTime1" Name="StartTime1" PropertyName="Text"
                Type="String" />
            <asp:ControlParameter ControlID="TextBoxStartTime2" Name="StartTime2" PropertyName="Text"
                Type="String" />
            <asp:ControlParameter ControlID="TextBoxEndTime1" Name="EndTime1" PropertyName="Text"
                Type="String" />
            <asp:ControlParameter ControlID="TextBoxEndTime2" Name="EndTime2" PropertyName="Text"
                Type="String" />
            <asp:ControlParameter ControlID="DropDownListCityCode" Name="CityCode" PropertyName="SelectedValue"
                Type="String" />
        </SelectParameters>
    </asp:ObjectDataSource>
    </form>
</body>
</html>
