<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true"
    CodeBehind="SMSFinanceList.aspx.cs" Inherits="OAWeb.SMSGateway.SMSFinanceList" %>
<%@ Register Src="../UserControls/SMSGatewayNav.ascx" TagName="SMSGatewayNav" TagPrefix="uc1" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlace" runat="server">
    <table id="plc_profile" cellpadding="0" cellspacing="0" border="0">
        <tr>
            <td class="main_left">
                 <uc1:SMSGatewayNav ID="SMSGatewayNav1" runat="server" />
            </td>
            <td class="main_center">
                <div class="page_main">
                    <div class="page_content">
                        <table class="data_title" cellspacing="3">
                            <tr>
                                <td class="data_caption">
                                    短信财务信息
                                </td>
                            </tr>
                        </table>
                        <div class="page_op">
                            <asp:Button ID="btnAdd" runat="server" Text="短信充值" CssClass="btn_77px" OnClientClick="return OpenDialog('/SMSGateway/SMSFinanceEdit.aspx','短信充值');" />
                        </div>
                        <div class="list">
                            <asp:GridView ID="gvData" runat="server" AutoGenerateColumns="False" DataKeyNames="Id"
                                GridLines="None" OnRowDataBound="gvData_RowDataBound" CellPadding="0" CssClass="table_list"
                                EnableModelValidation="True">
                                <RowStyle HorizontalAlign="Left" />
                                <Columns>
                                    <asp:BoundField DataField="CustomerName" HeaderText="客户名称"></asp:BoundField>
                                    <asp:BoundField DataField="Amount" HeaderText="短信余额" DataFormatString="{0:f}" />
                                    <asp:BoundField DataField="ModifyDate" HeaderText="最新充值时间" />
                                    <asp:TemplateField HeaderText="操作">
                                        <ItemTemplate>
                                            <asp:LinkButton ID="lbtnPay" runat="server">充值</asp:LinkButton>
                                        </ItemTemplate>
                                        <ItemStyle Width="200px" />
                                    </asp:TemplateField>
                                </Columns>
                            </asp:GridView>
                            <div class="pager-bar">
                                <webdiyer:AspNetPager ID="pager" runat="server" CssClass="anpager" currentpagebuttonclass="cpb"
                                    PageSize="20" NextPageText="下一页" LastPageText="页 尾" FirstPageText="第一页" PrevPageText="上一页"
                                    ShowBoxThreshold="10" SubmitButtonText="跳 转" UrlPaging="True">
                                </webdiyer:AspNetPager>
                            </div>
                        </div>
                    </div>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
