<%@ page language="C#" masterpagefile="MyShopMasterPage.master" autoeventwireup="true" inherits="Member_PayOneline, WebApp_deploy" title="Untitled Page" %>
<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>
    </asp:GridView>
    
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetByUserID" TypeName="HoWave.Web.PayOnline" OldValuesParameterFormatString="original_{0}">
        <SelectParameters>
            <asp:Parameter Name="UserID" Type="Int32" />
        </SelectParameters>
    </asp:ObjectDataSource>
</asp:Content>

