<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PostOneClass.aspx.cs" Inherits="SWTraining.Affairs.PostOneClass"
    Title="教务管理-开设一对一个人班" %>

<%@ Register Src="../UserCol/SimpleCode.ascx" TagName="SimpleCode" TagPrefix="uc1" %>
<%@ Register Src="../UserCol/Dictionary.ascx" TagName="Dictionary" TagPrefix="uc2" %>
<%@ Register src="../UserCol/Ann.ascx" tagname="Ann" tagprefix="uc3" %>
<!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">
    <title></title>
    <link id="linkStyle" runat="server" href="../Themes/Blue/css.css" rel="stylesheet"
        type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <uc3:Ann ID="Ann1" runat="server" />
    <div class="divpanel">
        <table class="table" cellspacing="0" runat="server" id="tabPost">
            <tr>
                <th colspan="2">
                    开设一对一个人班
                </th>
            </tr>
            <tr>
                <td>
                    班级编号：
                </td>
                <td>
                    <asp:TextBox ID="tbxClassID" runat="server" Width="173px" Enabled="False"></asp:TextBox>
                    <span style="color: Red">* </span>
                    <asp:CheckBox ID="cbxAutoID" runat="server" AutoPostBack="True" Checked="True" OnCheckedChanged="cbxAutoID_CheckedChanged"
                        Text="自动" />
                </td>
            </tr>
            <tr>
                <td>
                    班级名称：
                </td>
                <td>
                    <asp:TextBox ID="tbxClassName" runat="server" Width="173px"></asp:TextBox>
                    <span style="color: Red">*</span>
                </td>
            </tr>
            <tr>
                <td>
                    课程：
                </td>
                <td>
                    <asp:DropDownList ID="ddlCourse" runat="server" DataTextField="CourseName" DataValueField="CourseID"
                        AutoPostBack="True" Enabled="False">
                    </asp:DropDownList>
                    <span style="color: Red">*</span>
                    <uc1:SimpleCode ID="SimpleCode2" runat="server" UsersControlID="ddlCourse" CodeType="Course" />
                </td>
            </tr>
            <tr>
                <td>
                    开课日期：
                </td>
                <td>
                    <asp:TextBox ID="tbxStartDate" runat="server"></asp:TextBox>
                    <span style="color: Red">*</span>
                </td>
            </tr>
            <tr>
                <td>
                    主讲老师：
                </td>
                <td>
                    <asp:DropDownList ID="ddlTeacher" runat="server" DataTextField="TrueName" DataValueField="UserID">
                    </asp:DropDownList>
                    <span style="color: Red">*</span>
                    <uc1:SimpleCode ID="SimpleCode1" runat="server" UsersControlID="ddlTeacher" />
                </td>
            </tr>
            <tr>
                <td>
                    上课规律：
                </td>
                <td>
                    <asp:TextBox ID="tbxTimeRule" runat="server" Width="280px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    上课地点：
                </td>
                <td>
                    <asp:DropDownList ID="ddlSchool" runat="server" DataTextField="SchoolName" DataValueField="SchoolID"
                        AutoPostBack="True" OnSelectedIndexChanged="ddlSchool_SelectedIndexChanged">
                    </asp:DropDownList>
                    <span style="color: Red">*</span>
                </td>
            </tr>
            <tr>
                <td>
                    教室：
                </td>
                <td>
                    <asp:DropDownList ID="ddlClassroom" runat="server" DataTextField="ClassroomName"
                        DataValueField="ClassroomID">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    每课时：
                </td>
                <td>
                    <asp:TextBox ID="tbxLessonMinute" runat="server" Width="70px"></asp:TextBox>
                    <span style="color: Red">*</span>分钟
                </td>
            </tr>
            <tr>
                <td>
                    每课时提成：
                </td>
                <td>
                    <asp:TextBox ID="tbxLessonCommission" runat="server" Width="70px"></asp:TextBox>
                </td>
            </tr>
            <tr runat="server" id="c1">
                <td width="13%">
                    <asp:Label ID="labCustom1" runat="server"></asp:Label>
                </td>
                <td width="823">
                    <asp:TextBox ID="tbxCustom1" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr runat="server" id="c2">
                <td width="13%">
                    <asp:Label ID="labCustom2" runat="server"></asp:Label>
                </td>
                <td width="823">
                    <asp:TextBox ID="tbxCustom2" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr runat="server" id="c3">
                <td width="13%">
                    <asp:Label ID="labCustom3" runat="server"></asp:Label>
                </td>
                <td width="823">
                    <asp:TextBox ID="tbxCustom3" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr runat="server" id="c4">
                <td width="13%">
                    <asp:Label ID="labCustom4" runat="server"></asp:Label>
                </td>
                <td width="823">
                    <asp:TextBox ID="tbxCustom4" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr runat="server" id="c5">
                <td width="13%">
                    <asp:Label ID="labCustom5" runat="server"></asp:Label>
                </td>
                <td width="823">
                    <asp:TextBox ID="tbxCustom5" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th colspan="2" style="height:3px; font-size:1pt"></th>
            </tr>
            <tr>
                <td>
                    课时：
                </td>
                <td>
                    <asp:TextBox ID="tbxLessons" runat="server" Width="71px" Enabled="False"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    选班日期：
                </td>
                <td>
                    <asp:TextBox ID="tbxDateAndTime" runat="server"></asp:TextBox>
                    <span style="color: Red">*</span>
                </td>
            </tr>
            <tr>
                <td>
                    类型：
                </td>
                <td>
                    <asp:DropDownList ID="ddlContinueReg" runat="server">
                        <asp:ListItem Value="0">试听</asp:ListItem>
                        <asp:ListItem Value="1" Selected="True">新增</asp:ListItem>
                        <asp:ListItem Value="2">续报</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    报名点：
                </td>
                <td>
                    <asp:DropDownList ID="ddlPostSchool" runat="server" DataTextField="SchoolName" DataValueField="SchoolID">
                    </asp:DropDownList>
                    <span style="color: Red">*</span>
                </td>
            </tr>
            <tr>
                <td>
                    录入员：
                </td>
                <td>
                    <asp:DropDownList ID="ddlUser" runat="server" DataTextField="TrueName" DataValueField="UserID">
                    </asp:DropDownList>
                    <span style="color: Red">*</span>
                </td>
            </tr>
            <tr>
                <td>
                    短信通知：
                </td>
                <td>
                    <asp:CheckBox ID="cbxSMS" runat="server" Checked="True" />
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    <label class="lab_buttom">
<asp:Button ID="btnSubmit" runat="server" Text="提交" OnClick="btnSubmit_Click" />
</label>
                    <label class="lab_buttom">
<input causesvalidation="false" type="button" runat="server" onclick="back()" value="返回" />
</label>
                </td>
            </tr>
        </table>
    </div>
    <!------usercol ajax-------->
    <asp:UpdatePanel ID="up" runat="server">
        <ContentTemplate>
            <uc2:Dictionary ID="Dictionary1" runat="server" />
        </ContentTemplate>
    </asp:UpdatePanel>
    <!-------usercol ajax------->
    </form>
</body>
</html>
