<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login_plan.aspx.cs" Inherits="Web.sy.admin.login_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/admincss/skin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../../css/popcalendar.js"></script>
</head>
<body>
    <form id="form1" runat="server" >
<div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
        <td   class ="top_bg_left "></td>
    <td  class ="top_bg_center " >
    <table style ="width :100%; height :31"  border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
      
<!--这里写页标题 -->
        <td style ="height :31px"><div class="titlebt">教案管理</div></td>
      </tr>
    </table>
    </td> 
    <td class ="top_bg_right "></td>
  </tr>
  <tr>
    <td style ="background :url(../../css/admincss/images/mail_leftbg.gif); vertical-align :middle " >&nbsp;</td>
    <td style ="background-color :#F7F8F9; vertical-align :top " >

   <!--  一组内容模块开始   --> 
    <table class ="tablezong"   border="0"  cellpadding="0" cellspacing="0">
      <tr>
        <td>
        <div style =" margin-top :10px">
           <table style =" width :100%;"><tr><td style =" text-align :left ; ">
                  学期：<asp:DropDownList ID="ddlSemester" runat="server" AutoPostBack="True">
                  </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" AutoPostBack="True" 
                      onselectedindexchanged="btCha_Click">
                  </asp:DropDownList>
                  &nbsp;<asp:Button ID="btCha" runat="server" onclick="btCha_Click" Text="查询" />
                  <asp:Label ID="lb_m" runat="server" ForeColor="Red"></asp:Label>
                   </td>
                       <td style =" text-align :right"> <asp:Button ID="btPrintView" runat="server" Text="打印预览"  Visible ="false" 
                  onclick="btPrintView_Click"  />
                &nbsp;<asp:Button ID="btExcel" runat="server" onclick="btExcel_Click"  Visible ="false" 
                    Text="导出到EXCEL" /></td>
                   </tr></table> 
                    </div>

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

                         </asp:TemplateField>
                         <asp:BoundField DataField="teachername" HeaderText="任课教师" ReadOnly="True" />
                         <asp:BoundField DataField="state" HeaderText="状态" ReadOnly="True" />
                         <asp:CommandField HeaderText="删除" ShowDeleteButton="True" ShowHeader="True" />
                      


                </Columns>
            <HeaderStyle  CssClass="gvhead"  />
        </asp:GridView>  
        </td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->
    </td>
    <td  style =" background-image:url(../../css/admincss/images/mail_rightbg.gif )" >
    </td>
  </tr>
  <tr>
<td  class ="buttom_bg_left "></td>
  <td   class ="buttom_bg_center " ></td>
    <td  class ="buttom_bg_right " ></td>
  </tr>
</table>
    </div>
    </form>
</body>
</html>