<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Bankroll.aspx.cs" Inherits="TopWinCMS.WebUI.Admin.Shop.Bankroll" %>

<%@ Register Assembly="TopWinCMS.WebControls" Namespace="TopWinCMS.WebControls" TagPrefix="cc1" %>
<%@ Register Src="../UC_AjaxLoading.ascx" TagName="UC_AjaxLoading" TagPrefix="uc1" %>
<!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>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Pragma" content="no-cache" />

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

    <link rel="stylesheet" type="text/css" href="../Style.css" />

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

</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server">
        <ProgressTemplate>
            <uc1:UC_AjaxLoading ID="UC_AjaxLoading1" runat="server" />
        </ProgressTemplate>
    </asp:UpdateProgress>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table style="width: 98%;" border="0" cellpadding="4" cellspacing="0" id="NavigationPath">
                <tr>
                    <td style="width: auto">
                        &nbsp;<img src='../../Images/arrow.gif' alt="" />
                        您现在的位置：<asp:Label ID="LB_Path" runat="server"></asp:Label>
                    </td>
                    <td style="width: auto; text-align: right">
                        搜索：
                        <asp:DropDownList ID="DDL_Sort" runat="server" EnableViewState="False">
                            <asp:ListItem Value="UserName">用户名</asp:ListItem>
                            <asp:ListItem Value="LogTime">交易时间</asp:ListItem>
                            <asp:ListItem Value="Bank">银行名称</asp:ListItem>
                        </asp:DropDownList>
                        &nbsp;
                        <asp:TextBox ID="TB_KeyWord" runat="server"></asp:TextBox>&nbsp;
                        <asp:Button ID="BT_Search" runat="server" Text="搜索" EnableViewState="False" CssClass="btn">
                        </asp:Button>
                    </td>
                </tr>
            </table>
            <asp:GridView ID="GV_List" runat="server" AutoGenerateColumns="False" CssClass="GridView"
                DataKeyNames="ID" OnRowDataBound="GV_List_RowDataBound" OnRowDeleting="GV_List_RowDeleting">
                <Columns>
                    <asp:TemplateField HeaderText="选择">
                        <HeaderTemplate>
                            <input name="chkHeader" onclick="javascript:SelectAll(this);" type="checkbox" value="chkHeader" /></HeaderTemplate>
                        <ItemStyle HorizontalAlign="Center" Width="30px"></ItemStyle>
                        <ItemTemplate>
                            <asp:CheckBox ID="CheckBox1" runat="server" />
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="OrderNum" HeaderText="订单号"></asp:BoundField>
                    <asp:BoundField DataField="UserName" HeaderText="用户名"></asp:BoundField>
                    <asp:BoundField DataField="Money" HeaderText="金额"></asp:BoundField>
                    <asp:BoundField DataField="Bank" HeaderText="银行"></asp:BoundField>
                    <asp:TemplateField HeaderText="收入支出">
                        <ItemTemplate>
                            <%# ((int)Eval("Income_PayOut"))==1?"收入":"支出" %></ItemTemplate>
                    </asp:TemplateField>
                    
                    <asp:BoundField DataField="Remark" HeaderText="Remark" HeaderStyle-Width="120"></asp:BoundField>
                    <asp:CommandField ShowDeleteButton="True" HeaderText="删除">
                        <HeaderStyle Width="40px" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:CommandField>
                </Columns>
                <HeaderStyle CssClass="HeaderStyle" />
            </asp:GridView>
            <div class="WorkArea">
                <asp:Button ID="BT_DelSeletedID" runat="server" Text="删除选中" Style="cursor: hand"
                    EnableViewState="False" CssClass="btn" OnClick="BT_DelSeletedID_Click"></asp:Button>
                &nbsp;&nbsp; |&nbsp;&nbsp;
            </div>
            <div class="pagefield">
                <cc1:PageNavigation ID="PageNavigation1" runat="server" SubmitButtonClass="btn" OnPageChanging="PageNavigation1_PageChanging" PageSize="15">
                </cc1:PageNavigation>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
