<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BuyLessonsLog.aspx.cs"
    Inherits="MTCUN.Register.BuyLessonsLog" Title="已购项目-客服" %>

<%@ Register Src="../UserCol/Progress.ascx" TagName="Progress" TagPrefix="uc1" %>
<%@ 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 id="Head1" 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:GridView ID="GridView1" runat="server" CssClass="gridview" AutoGenerateColumns="False"
            DataKeyNames="BillItemID" OnRowDataBound="GridView1_RowDataBound">
            <SelectedRowStyle CssClass="selected" />
            <Columns>
                <asp:TemplateField HeaderText="项目">
                    <ItemTemplate>
                        <asp:Label ID="labProductName" runat="server" Text='<%# Bind("ProductName") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="日期">
                    <ItemTemplate>
                        <asp:Label ID="labDateAndTime" runat="server" Text='<%# Bind("DateAndTime") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="单号">
                    <ItemTemplate>
                        <asp:Label ID="labBillID" runat="server" Text='<%# Bind("BillID") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="单价">
                    <ItemTemplate>
                        <asp:Label ID="labUnitPrice" runat="server" Text='<%# Bind("UnitPrice","{0:c2}") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="消费进度">
                    <ItemTemplate>
                        <uc1:Progress ID="Progress1" runat="server" Text='<%#Eval("UnitName") %>' MaxNum='<%#Eval("Amount") %>' MinNum='<%#Eval("CourseProgress") %>'
                            ProgressWidth="65%" />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="退课时">
                    <ItemTemplate>
                        <asp:Label ID="labBackAmount" runat="server" Text='<%# Bind("BackAmount") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </div>
    <div class="backpanel">
        <label class="lab_button" id="__mt_labBack" runat="server">
<input id="Button1" causesvalidation="false" type="button" runat="server" onclick="back(this)"
            value="返回" />
</label>
    </div>
    </form>
</body>
</html>
