<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="select_plan.aspx.cs" Inherits="Web.sy.show.select_plan" %>

<!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">
    <title>OA标题页</title>
    <link href="/css/css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="fom" runat="server">
        <div id ="main-c-03-right" >
            <table cellpadding="0"; cellspacing ="0"; style =" width :100%;background-image: url('/css/images/right_top.png'); background-repeat :repeat-x" >
                <tr>
             <td class  ="main-c-03-right02-top">
                	   <!--这里添加页面标题 -->
                      	    教案查询
                      	</td>
                </tr>
            </table>
            <div id="main-c-03-right02-main">
    
<!--栏目开始 -->
                        <!--这里添加内容 -->
                        <div style =" margin-top :10px;">
 学期：<asp:DropDownList ID="ddlSemester" runat="server" 
                                AutoPostBack="True" onselectedindexchanged="ddlSemester_SelectedIndexChanged">
                            </asp:DropDownList>

                           &nbsp; 学科：<asp:DropDownList ID="ddlCourse" runat="server" AutoPostBack="True" 
                                onselectedindexchanged="ddlCourse_SelectedIndexChanged">
                            </asp:DropDownList>

                           &nbsp; 年级：<asp:DropDownList ID="ddlGrade" runat="server" AutoPostBack="True" 
                                onselectedindexchanged="ddlGrade_SelectedIndexChanged">
                            </asp:DropDownList>

                           &nbsp; 班级：<asp:DropDownList ID="ddlClass" runat="server">
                            </asp:DropDownList>
                            &nbsp;<asp:Button ID="btCha" runat="server" Text="查询" onclick="btCha_Click" />

			<asp:GridView ID="GridView1" runat="server" Width="100%" 
                BorderWidth="1px" CssClass="gv" AutoGenerateColumns="False" 
                                onrowcreated="GridView1_RowCreated" 
                                onrowdatabound="GridView1_RowDataBound" >
            <RowStyle BorderWidth="1px" CssClass="gvrow" />
                  <Columns>
                       <asp:BoundField DataField="id" HeaderText="id" ReadOnly="True" />
                       <asp:BoundField DataField="paixu" HeaderText="序号" ReadOnly="True" />
                   <asp:BoundField DataField="semestername" HeaderText="学期" ReadOnly="True" />
                   <asp:BoundField DataField="coursename" HeaderText="学科" ReadOnly="True" />
                                      <asp:BoundField DataField="grade" HeaderText="年级" ReadOnly="True" />
                   <asp:BoundField DataField="classname" HeaderText="班级" ReadOnly="True" />
                                            <asp:TemplateField HeaderText="课题">
                             <ItemTemplate>
                                 <asp:Label ID="Label_select" runat="server" Text='<%# Bind("planname") %>' ></asp:Label>
                                 <asp:HyperLink ID="HyperLink_select" runat="server" Text='<%# Bind("planname") %>' Target ="_blank">HyperLink</asp:HyperLink>
                             </ItemTemplate>

                         </asp:TemplateField>
                   <asp:BoundField DataField="state" HeaderText="状态" ReadOnly="True" />
                   <asp:BoundField DataField="teachername" HeaderText="教师" ReadOnly="True" />
                        <asp:BoundField DataField="coursecode" HeaderText="学科代码" ReadOnly="True" />
                </Columns>
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
        </asp:GridView>

        <div runat ="server" id = "divfuzhi" visible = "false" >
            当前学期：<asp:Label ID="lbSemester_now" runat="server" ></asp:Label>，学科：<asp:Label 
                ID="lbCourse_now" runat="server" ></asp:Label>，年级：<asp:Label 
                ID="lbGrade_now" runat="server" ></asp:Label>，将查询到的计划复制给以下班级：
            <asp:CheckBoxList ID="cblClass" runat="server" CellSpacing="15" 
                RepeatDirection="Horizontal">
            </asp:CheckBoxList>
            <asp:CheckBox ID="cbChecked" runat="server" Checked="True" 
                Text="不改动直接引用，自动审核" />&nbsp;
            <asp:Button ID="btTiaojiao" runat="server"
                Text="提交" onclick="btTiaojiao_Click" />
        </div>
<!--栏目结束 -->
                </div>
            </div>
        </form>
    </body>
</html>
