<%@ page language="C#" masterpagefile="AdminIndexMaster.master" autoeventwireup="true" inherits="Admin_Admin_ShopSaleOrderView, mallz" title="销售统计" enableEventValidation="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">


    <table class="nick">
        <tr>
            <td class="ltd">卖家名称：</td>
            <td class="rtd" style="width: 35%;"><asp:TextBox ID="TextBox1" runat="server" /></td>
            <td class="ltd">卖家列表：</td>
            <td class="rtd" style="width: 35%;">
               <asp:DropDownList ID="DropDownList1" runat="server" AppendDataBoundItems="True">
                    <asp:ListItem Value="0">所有</asp:ListItem>
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td class="ltd">时间选择：</td>
            <td class="rtd" style="width: 35%;">
                <asp:DropDownList ID="DropMoment" runat="server">
                    <asp:ListItem Value="0">所有</asp:ListItem>
                    <asp:ListItem Value="7">本周</asp:ListItem>
                    <asp:ListItem Value="10">十天</asp:ListItem>
                    <asp:ListItem Value="30">本月</asp:ListItem>
                    <asp:ListItem Value="365">本年</asp:ListItem>
                </asp:DropDownList></td>
            <td class="ltd">商品名称：</td>
            <td class="rtd" style="width: 35%;">
                <asp:TextBox ID="TxtProductName" runat="server"/></td>
        </tr>
        <tr>
            <td class="ltd">起始日期：</td>
            <td class="rtd" style="width: 35%;"><asp:TextBox ID="TxtBeginDate" runat="server" /></td>
            <td class="ltd">结束日期：</td>
            <td class="rtd" style="width: 35%;"><asp:TextBox ID="TxtEndDate" runat="server" /></td>
        </tr>
        <tr>
            <td class="btm" colspan="4"><asp:Button ID="Button1" runat="server" Text="提 交" OnClick="Button1_Click" /></td>
        </tr>
    </table>
           
    <asp:GridView ID="GridView1" CssClass="adminlist" runat="server" AutoGenerateColumns="False" OnRowDataBound="GridView1_RowDataBound" OnDataBound="GridView1_DataBound" RowStyle-HorizontalAlign="Center" AllowPaging="True" AllowSorting="True" PageSize="6">
        <Columns>
            <asp:BoundField HeaderText="名次" >
                <ItemStyle Width="5%" />
            </asp:BoundField>
            <asp:HyperLinkField DataNavigateUrlFields="ProductID" DataNavigateUrlFormatString="../ShowProduct.aspx?ProductID={0}"
                DataTextField="ProductName" HeaderText="名称" Target="_blank" />
            <asp:BoundField HeaderText="销量" DataField="TotalNum" />
            <asp:BoundField HeaderText="金额" DataField="Total" />
        </Columns>
        <EmptyDataTemplate>
                <tr>
                    <th>名次</th>
                    <th>商品名称</th>
                    <th>销售数量</th>
                    <th>销售金额</th>                   
                </tr>
                <tr><td colspan="5">暂无信息！</td></tr>
        </EmptyDataTemplate>
        <RowStyle HorizontalAlign="Center" />
    </asp:GridView>
    <br>
</asp:Content>

