<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PostLessonDegree.aspx.cs"
    Inherits="SWTraining.Class.PostLessonDegree" Title="教务管理-编辑排课信息" %>

<%@ Import Namespace="SWTraining" %>
<%@ Register Src="../UserCol/SimpleCode.ascx" TagName="SimpleCode" TagPrefix="uc1" %>
<!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" method="post" runat="server">
    <div class="divpanel">
        <table cellspacing="0" width="100%" border="0" class="table">
            <tr>
                <th colspan="2">
                    增加上课记录
                </th>
            </tr>
            <tr>
                <td>
                    本课主题：
                </td>
                <td>
                    <asp:TextBox ID="tbxSubject" runat="server" Width="235px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    日期时间：
                </td>
                <td>
                    <asp:TextBox ID="tbxStartDate" runat="server" Width="95px"></asp:TextBox>
                    <asp:TextBox ID="tbxStartTime" runat="server" Width="48px"></asp:TextBox>
                    -<asp:TextBox ID="tbxEndTime" runat="server" Width="48px"></asp:TextBox>
                    <asp:DropDownList ID="ddlPeriodTime" runat="server" AutoPostBack="True" DataTextField="PeriodTimeName"
                        DataValueField="PeriodTimeName" OnSelectedIndexChanged="ddlPeriodTime_SelectedIndexChanged">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    本次课时：
                </td>
                <td>
                    <asp:DropDownList ID="ddlLessons" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlLessons_SelectedIndexChanged">
                        <asp:ListItem Value="0">0</asp:ListItem>
                        <asp:ListItem Value="1">1</asp:ListItem>
                        <asp:ListItem Value="2">2</asp:ListItem>
                        <asp:ListItem Value="3">3</asp:ListItem>
                        <asp:ListItem Value="4">4</asp:ListItem>
                        <asp:ListItem Value="5">5</asp:ListItem>
                        <asp:ListItem Value="6">6</asp:ListItem>
                        <asp:ListItem Value="7">7</asp:ListItem>
                        <asp:ListItem Value="8">8</asp:ListItem>
                        <asp:ListItem Value="9">9</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    上课类型：
                </td>
                <td>
                    <asp:RadioButtonList ID="rblLessonType" runat="server" Width="123px" RepeatDirection="Horizontal">
                        <asp:ListItem Value="1" Text="正常"></asp:ListItem>
                        <asp:ListItem Value="0" Text="补课"></asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td>
                    上课讲师：
                </td>
                <td>
                    <asp:DropDownList ID="ddlTeacher" runat="server" DataTextField="TrueName" DataValueField="UserID">
                    </asp:DropDownList>
                    <uc1:SimpleCode ID="SimpleCode1" runat="server" UsersControlID="ddlTeacher" />
                </td>
            </tr>
            <tr>
                <td>
                    上课教室：
                </td>
                <td>
                    <asp:DropDownList ID="ddlClassroom" DataTextField="ClassroomName" DataValueField="ClassroomID"
                        runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    备注：
                </td>
                <td>
                    <asp:TextBox ID="tbxRemark" runat="server" Width="316px" Height="44px" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    录入员：
                </td>
                <td>
                    <asp:DropDownList ID="ddlUser" runat="server" DataTextField="TrueName" DataValueField="UserID">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <label class="lab_buttom">
<asp:Button ID="btnPost" runat="server" Text="提交" OnClick="btnPost_Click"></asp:Button>
</label>
                    <label class="lab_buttom">
<input type="button" runat="server" onclick="back(this)" value="返回" />
</label>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
