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

<%@ Import Namespace="SWTraining" %>
<!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="divpanel">
        校区：<asp:DropDownList ID="ddlSchool" DataTextField="SchoolName" DataValueField="SchoolID"
            runat="server">
        </asp:DropDownList>
        <asp:Button ID="btnSearch" runat="server" OnClick="btnSearch_Click" Text="查询" />
    </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="CreditMoney" DataFormatString="{0:c}" HeaderText="欠费金额" />
                <asp:BoundField DataField="CreditExpiration" DataFormatString="{0:d}" HeaderText="归还日期" />
                <asp:BoundField DataField="CreditRemark" HtmlEncode="true" HeaderText="原因" />
                <asp:TemplateField HeaderText="帐单">
                    <ItemTemplate>
                        <asp:HyperLink ID="hlkBillShow" runat="server" Text="帐单" NavigateUrl='<%# string.Format("StuBill.aspx?StudentID={0}",Eval("StudentID")) %>' />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="充值记录">
                    <ItemTemplate>
                        <asp:HyperLink ID="hlkPayment" runat="server" Text="充值记录" NavigateUrl='<%# string.Format("StuPayment.aspx?StudentID={0}&GetURL={1}",Eval("StudentID"),swq.Web.PathAndQuery()) %>' />
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </div>
    <div class="divpanel">
        <asp:Literal ID="litPagerButton" runat="server"></asp:Literal>
    </div>
    </form>
</body>
</html>
