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

<!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 :31px"  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 " >
        <asp:Panel ID="plZong" runat="server">
    
   <!--  一组内容模块开始   --> 
    <table class ="tablezong"   border="0"  cellpadding="0" cellspacing="0">
      <tr>
        <td  style =" height :40px">
        <table class="tablebiaoti"  border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td><div class ="biaotileft ">  
                社团类别管理</div> </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td>
         当前学期：<asp:Label ID="lbSemester" runat="server" ></asp:Label>
<div>
<asp:GridView ID="GridView2" runat="server" Width="100%" CssClass="gv" 
            cellspacing="1" BorderWidth="1px" 
                AutoGenerateColumns="False" onrowcreated="GridView2_RowCreated" 
        onrowdeleting="GridView2_RowDeleting" 
        onselectedindexchanging="GridView2_SelectedIndexChanging" OnRowDataBound="GridView2_RowDataBound" >
            <RowStyle  CssClass="gvrow" BorderWidth="1px" />
                <Columns>
                  <asp:BoundField DataField="id" HeaderText="id" ReadOnly="True" />
                    <asp:BoundField DataField="coursename" HeaderText="社团" ReadOnly="True" />
                      <asp:BoundField DataField="categories" HeaderText="类别" ReadOnly="True" />
                    <asp:BoundField DataField="managerid" HeaderText="学科管理人编号" ReadOnly="True" />
                    <asp:BoundField DataField="managername" HeaderText="学科管理人姓名" ReadOnly="True" />
                    <asp:BoundField DataField="labname" HeaderText="可用教室" ReadOnly="True" />
                    <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
                    <asp:ButtonField CommandName="Select" HeaderText="修改" ShowHeader="True" 
                        Text="修改" />
                </Columns>
            <HeaderStyle  CssClass="gvhead"  />
        </asp:GridView>
    <div> 
当前学期的社团类别： 
            <asp:DropDownList ID="ddlCourse" runat="server">
            </asp:DropDownList>   <asp:Button ID="btCoursegrade" runat="server" Text="添加" 
                        onclick="btCoursegrade_Click" />
    </div>

                    </div>
        </td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->

    </asp:Panel>
       <asp:Panel ID="plEditCourse" runat="server" Visible ="false" >
       <table >
       <tr>
       <td style =" height :30px;"> 学科：</td>
       <td>    
           <asp:Label ID="lbEditCourse" runat="server"></asp:Label>
           <asp:Label ID="lbEditId" runat="server" Visible="false"></asp:Label>
           </td>
       </tr>
       <tr>
       <td  style =" height :30px;">学科管理人：</td>
       <td>  <asp:TextBox ID="tbEditTeacher" runat="server"></asp:TextBox></td>
       </tr>
       <tr>
       <td  style =" height :30px;">可用教室：</td>
       <td>     <asp:CheckBoxList ID="cblEditLab" runat="server" 
               RepeatDirection="Horizontal" RepeatColumns="8">
           </asp:CheckBoxList></td>
       </tr>
       <tr>
       <td  style =" height :30px;"></td>
      <td><asp:Button ID="btEDit" runat="server" Text="提交" onclick="btEDit_Click" /></td> </tr>
       </table>
       </asp:Panel> 
    </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>