<%@ page language="C#" autoeventwireup="true" inherits="Admin_MemberBuyReport, ShopNum1Deploy" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ShopNum1" %>

<%@ Register assembly="ShopNum1.Control" namespace="ShopNum1.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 id="Head1" runat="server">
    <title>Untitled Page</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">
<%--<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>--%>
     <div class="navigator">【 会员购物量(额) 】</div>
     
<div class="query">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="20%" align="right">时间：</td>
    <td colspan="2"> <asp:TextBox ID="TextBoxSDispatchTime1" runat="server" CssClass="input1"></asp:TextBox>
                 <asp:RegularExpressionValidator ID="RegularExpressionValidatorStartDate" 
                            runat="server" ControlToValidate="TextBoxSDispatchTime1" 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>
                         <ShopNum1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" 
        EnableScriptGlobalization="True" EnableScriptLocalization="True">
    </ShopNum1:ToolkitScriptManager>
    <img id="imgCalendarStartTime" alt="" src="../images/Calendar.png" 
        style="width: 16px; height: 18px;" />
        <ShopNum1:CalendarExtender 
        ID="CalendarExtender1" runat="server" TargetControlID="TextBoxSDispatchTime1" 
        PopupButtonID="imgCalendarStartTime" CssClass="ajax__calendar">
    </ShopNum1:CalendarExtender>-<asp:TextBox ID="TextBoxSDispatchTime2" runat="server" CssClass="input1"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" 
                            runat="server" ControlToValidate="TextBoxSDispatchTime2" 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="imgCalendarEndTime" alt="" src="../images/Calendar.png" 
        style="width: 16px; height: 18px;" />
        <ShopNum1:CalendarExtender 
        ID="CalendarExtender2" runat="server" TargetControlID="TextBoxSDispatchTime2" 
        PopupButtonID="imgCalendarEndTime" CssClass="ajax__calendar">
    </ShopNum1:CalendarExtender></td>
    <td><asp:Button ID="ButtonSearch" runat="server" 
                        onclick="ButtonSearch_Click" Text="查询" CssClass="bt2" /></td>
  </tr>
</table>


</div>
        <table  style="width:100%">
        <tr><td style="padding:0 0 5px 5px"><asp:Button ID="ButtonReport" runat="server" onclick="ButtonReport_Click" Text="导出到Excel" 
                                CausesValidation="False"  CssClass="bt3"/></td></tr>
                    <tr>
                        <td align="left">
            <cc1:Num1GridView ID="Num1GridViewShow" runat="server" 
                AutoGenerateColumns="False" 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:BoundField DataField="MemloginID" HeaderText="会员登录名">
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Realname" HeaderText="会员姓名" >
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:BoundField DataField="OrderCount" HeaderText="订单个数" 
                        SortExpression="OrderCount">
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="购物金额" DataField="AlreadPayPrice" 
                        SortExpression="AlreadPayPrice">
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                </Columns>
            </cc1:Num1GridView>
                        </td>
                    </tr>
                       <tr>
                        <td align="left">
                        <div class="vote">
                                                   
                &nbsp;&nbsp;</div></td>                    
                    </tr>
</table>
        <%--                   <input ID="checkboxItem"   onclick="GetItmeValue(this)" type="checkbox" />--%><asp:ObjectDataSource 
            ID="ObjectDataSourceData" runat="server" 
            SelectMethod="SearchMemberBuyReport" 
            TypeName="ShopNum1.BusinessLogic.ShopNum1_Report_Action">
    <SelectParameters>
        <asp:ControlParameter ControlID="TextBoxSDispatchTime1" 
            Name="dispatchTime1" PropertyName="Text" Type="String" />
        <asp:ControlParameter ControlID="TextBoxSDispatchTime2" Name="dispatchTime2" 
            PropertyName="Text" Type="String" />
    </SelectParameters>
            
        </asp:ObjectDataSource>
    <asp:HiddenField ID="CheckGuid1" runat="server" Value="0" 
          />
    <asp:HiddenField ID="CheckGuid2" runat="server" Value="0" 
          />
    </form>
</body>
</html>