<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LessonTable.aspx.cs" Inherits="MTCUN.Teacher.LessonTable"
    Title="课程表-教师" %>

<!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" runat="server" DataTextField="SchoolName" DataValueField="SchoolID">
            </asp:DropDownList>
            日期：<asp:TextBox ID="tbxDateAndTime" runat="server"></asp:TextBox>
            <label class="lab_button">
                <asp:Button ID="btnShow" runat="server" OnClick="btnShow_Click" Text="查看本周" />
            </label>
            <label class="lab_button">
                <asp:Button ID="btnUp" runat="server" OnClick="btnUp_Click" Text="上周" />
            </label>
            <label class="lab_button">
                <asp:Button ID="btnDown" runat="server" OnClick="btnDown_Click" Text="下周" />
            </label>
            <label class="lab_button">
                <asp:Button ID="btnExportExcel" runat="server" OnClick="btnExportExcel_Click" Text="导出EXCEL" />
            </label>
            一周第一天：
                    <asp:DropDownList ID="ddlWeekStart" runat="server" AutoPostBack="True"
                        OnSelectedIndexChanged="ddlWeekStart_SelectedIndexChanged">
                        <asp:ListItem Value="1">周日</asp:ListItem>
                        <asp:ListItem Value="2">周一</asp:ListItem>
                    </asp:DropDownList>
        </div>
        <div class="both">
        </div>
        <div class="divpanel">
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CssClass="gridview">
                <HeaderStyle Wrap="false" />
                <Columns>
                    <asp:BoundField DataField="Sunday" HeaderText="周日" HtmlEncode="false" />
                    <asp:BoundField DataField="Monday" HeaderText="周一" HtmlEncode="false" />
                    <asp:BoundField DataField="Tuesday" HeaderText="周二" HtmlEncode="false" />
                    <asp:BoundField DataField="Wednesday" HeaderText="周三" HtmlEncode="false" />
                    <asp:BoundField DataField="Thursday" HeaderText="周四" HtmlEncode="false" />
                    <asp:BoundField DataField="Friday" HeaderText="周五" HtmlEncode="false" />
                    <asp:BoundField DataField="Saturday" HeaderText="周六" HtmlEncode="false" />
                </Columns>
            </asp:GridView>
        </div>
        <div class="divremark">
            <b>注意事项：</b><br />
            1、红色标注的时间段，表示老师时间安排上发生冲突。<br />
            2、点击日期进入学员考勤。<br />
        </div>
    </form>
</body>
</html>
