<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Arrearage.aspx.cs" Inherits="MTCUN.Finance.Arrearage"
    Title="欠费查询-财务" %>

<%@ Import Namespace="MTCUN" %>
<!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">
    <link id="linkStyle" runat="server" href="../Themes/Blue/css.css" rel="stylesheet"
        type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <div class="tool_Search">
            校区：<asp:DropDownList ID="ddlSchool" DataTextField="SchoolName" DataValueField="SchoolID"
                runat="server">
            </asp:DropDownList>
            <label class="lab_button">
                <asp:Button ID="btnSearch" runat="server" OnClick="btnSearch_Click" Text="查询" />
            </label>
        </div>
        <div class="both">
        </div>
        <div class="divpanel">
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CssClass="gridview">
                <Columns>
                    <asp:BoundField DataField="StudentID" HeaderText="学号" />
                    <asp:BoundField DataField="StudentName" HeaderText="姓名" />
                    <asp:BoundField DataField="Tel" HeaderText="电话" />
                    <asp:BoundField DataField="MobileTel" HeaderText="手机" />
                    <asp:BoundField DataField="CreditMoney" DataFormatString="{0:c2}" HeaderText="欠费金额" />
                    <asp:BoundField DataField="CreditExpiration" DataFormatString="{0:d}" HeaderText="归还日期" />
                    <asp:BoundField DataField="CreditRemark" HtmlEncode="true" HeaderText="原因" />
                    <asp:TemplateField HeaderText="帐单">
                        <ItemTemplate>
                            <div class="lab_button_sub" id="divBillShow" runat="server">
                                <asp:HyperLink ID="hlkBillShow" runat="server" Text="帐单" NavigateUrl='<%# string.Format("StuBill.aspx?StudentID={0}",Eval("StudentID")) %>' />
                            </div>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="充值记录">
                        <ItemTemplate>
                            <div class="lab_button_sub" id="divPayment" runat="server">
                                <asp:HyperLink ID="hlkPayment" runat="server" Text="充值记录" NavigateUrl='<%# string.Format("StuPayment.aspx?StudentID={0}&GetURL={1}",Eval("StudentID"),swq.Web.PathAndQuery()) %>' />
                            </div>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
        </div>
        <div class="divpanel">
            <asp:Literal ID="litPagerButton" runat="server"></asp:Literal>
        </div>
    </form>
</body>
</html>
