<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Class.aspx.cs" Inherits="SWTraining.Student.Class"
    Title="班级信息" %>

<%@ Register Src="../UserCol/Progress.ascx" TagName="Progress" TagPrefix="uc1" %>
<%@ 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>
    <script type="text/javascript">
        function Print(ClassID, templet) {
            document.frames.PrintWeb.location = "../Report/Print.aspx?DocType=3&ClassID=" + ClassID + "&Templet=" + templet;
        }
    </script>
    <form id="form1" runat="server">
    <div class="divpanel">
        <asp:FormView ID="fvClassInfo" runat="server" Width="100%">
            <ItemTemplate>
                <table cellspacing="0" class="table">
                    <tr>
                        <th colspan="2">
                            班级信息
                        </th>
                        <tr>
                            <td>
                                编号：
                            </td>
                            <td>
                                <%# Eval("ClassID") %>
                            </td>
                        </tr>
                    <tr>
                        <td>
                            班级名称：
                        </td>
                        <td>
                            <%# Eval("ClassName") %>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            课程：
                        </td>
                        <td>
                            <%# Eval("CourseName") %>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            主讲老师：
                        </td>
                        <td>
                            <%# Eval("TeacherName") %>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            总课时：
                        </td>
                        <td>
                            <%# Eval("Lessons") %>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            开课日期：
                        </td>
                        <td>
                            <%# Eval("StartDate","{0:d}") %>
                            至
                            <%# Eval("EndDate","{0:d}") %>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            上课规律：
                        </td>
                        <td>
                            <%# Eval("TimeRule") %>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            教室：
                        </td>
                        <td>
                            <%# Eval("ClassroomName") %>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            课程进度：
                        </td>
                        <td>
                            <uc1:Progress ID="CourseProgress" runat="server" MaxNum='<%# Eval("Lessons") %>'
                                MinNum='<%# Eval("CourseProgress") %>' Text="课时" Width="80%" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            招生比例：
                        </td>
                        <td>
                            <uc1:Progress ID="PlanProgress" runat="server" MaxNum='<%# Eval("PlanCount") %>'
                                MinNum='<%# Eval("StuCount") %>' Text="人" Width="80%" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            班级介绍：
                        </td>
                        <td>
                            <%# Eval("Remark") %>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            上课校区：
                        </td>
                        <td>
                            <%# Eval("SchoolName") %>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:FormView>
    </div>
    <div class="backpanel">
        <label class="lab_buttom">
<input id="Button1" causesvalidation="false" type="button" runat="server" onclick="back()"
            value="返回" />
</label>
    </div>
    </form>
    <div class="printWeb">
        <iframe id="PrintWeb" width="0" height="0"></iframe>
    </div>
</body>
</html>
