<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="st_select_plan.aspx.cs" Inherits="Web.sy.show.st_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="ddlSemester_SelectedIndexChanged">
                            </asp:DropDownList>

                           &nbsp; 社团：<asp:DropDownList ID="ddlGrade" runat="server" AutoPostBack="True" 
                                onselectedindexchanged="btCha_Click">
                            </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: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:CheckBoxList ID="cblClass" runat="server" CellSpacing="15" 
                RepeatDirection="Horizontal">
            </asp:CheckBoxList>
            &nbsp;<asp:Button ID="btTiaojiao" runat="server"
                Text="提交" onclick="btTiaojiao_Click" />
        </div>
<!--栏目结束 -->
                </div>
            </div>
        </form>
    </body>
</html>
