<%@ page language="C#" masterpagefile="MyShopMasterPage.master" autoeventwireup="true" inherits="Member_PayOneline, mallz" title="Untitled Page" enableEventValidation="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="pageTitle"><font color="red">在线充值记录</font></div>
    <asp:GridView ID="GridView1" runat="server" DataSourceID="ObjectDataSource1" CssClass="tableHead" AutoGenerateColumns="False" DataKeyNames="OnlinePayID">
        <Columns>
            <asp:BoundField DataField="OnlinePayID" HeaderText="ID" >
                <HeaderStyle Width="60px" />
            </asp:BoundField>
            <asp:BoundField DataField="PayNum" HeaderText="系统流水号" />
            <asp:BoundField DataField="eBankName" HeaderText="通道名称" />
            <asp:BoundField DataField="PayTime" HeaderText="操作时间" />
            <asp:TemplateField HeaderText="状态">
                <ItemTemplate>
                    <asp:Literal ID="PayStatus" runat="server" Text='<%# (Eval("PayStatus").ToString()=="1")?"完成":"未支付" %>' />
                </ItemTemplate>
                <HeaderStyle Width="100px" />
            </asp:TemplateField>
        </Columns>
        <EmptyDataTemplate>
            <div style="text-align:center;">无数据</div>
        </EmptyDataTemplate>
    </asp:GridView>
    
    <div style="padding:5px; text-align:center;">
        <input id="Button1" onclick="history.back();" type="button" value="取消返回" />
    </div>
    
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetByUserID" TypeName="MallZ.Data.PayOnline" OldValuesParameterFormatString="original_{0}">
        <SelectParameters>
            <asp:Parameter Name="UserID" Type="Int32" />
        </SelectParameters>
    </asp:ObjectDataSource>
</asp:Content>

