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

<!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 style ="height :40px" colspan="2" >
        <table class="tablebiaoti"  border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td><div class ="biaotileft ">  
               指导教师安排</div> </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr> <td style =" text-align :left  ;"> 当前学期：<asp:Label ID="lbSemester" runat="server" ></asp:Label>  </td>
      
      <td style =" text-align :right ;">  <asp:Button ID="btChecked" runat="server" Text="审核" onclick="btChecked_Click"  Visible ="false" />
</td></tr>
      <tr>
        <td colspan="2">
               <div style =" height :30px">
                  <asp:RadioButtonList ID="rblCourse" runat="server" AutoPostBack="True" 
                      onselectedindexchanged="rblCourse_SelectedIndexChanged"  CellSpacing="10"
                      RepeatDirection="Horizontal" RepeatColumns="8"> 
                  </asp:RadioButtonList> </div> 
<asp:GridView ID="GridView3" runat="server" Width="100%" CssClass="gv" 
            cellspacing="1" BorderWidth="1px" 
                AutoGenerateColumns="False" onrowcancelingedit="GridView3_RowCancelingEdit" 
                   onrowediting="GridView3_RowEditing" onrowupdating="GridView3_RowUpdating" 
                   onrowcreated="GridView3_RowCreated" onrowdeleting="GridView3_RowDeleting" OnRowDataBound="GridView3_RowDataBound" >
            <RowStyle  CssClass="gvrow" BorderWidth="1px" />
                <Columns>
                     <asp:BoundField DataField="id" HeaderText="id" ReadOnly="True" />
                      <asp:BoundField DataField="coursename" HeaderText="学科类别" ReadOnly="True" />
                     <asp:TemplateField HeaderText="社团">
                         <ItemTemplate>
                             <asp:Label ID="Label1" runat="server" Text='<%# Bind("grade") %>'></asp:Label>
                          </ItemTemplate>
                         <EditItemTemplate>
                             <asp:Label ID="Label1" runat="server" Text='<%# Eval("grade") %>'></asp:Label>
                         </EditItemTemplate>
                     </asp:TemplateField>
                                        <asp:TemplateField HeaderText="指导教师">
                                            <ItemTemplate>
                                                <asp:Label ID="lbviewTeacher" runat="server" Text='<%# Bind("teachername") %>'></asp:Label>
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                            <asp:Label ID="Label3" runat="server" Text='<%# Eval("teachername") %>'></asp:Label><asp:TextBox
                                                    ID="tbEditTeachd" runat="server"  Text='<%# Eval("teacherid") %>'></asp:TextBox>
                                            </EditItemTemplate>
                     </asp:TemplateField>
                             <asp:BoundField DataField="checked" HeaderText="审核状态" ReadOnly="True" />
                     <asp:CommandField EditText="修改" HeaderText="修改" ShowEditButton="True" />
                     <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
                </Columns>
            <HeaderStyle  CssClass="gvhead"  />
        </asp:GridView>
  <div>  
  社团名称：<asp:TextBox ID="tbName" runat="server"></asp:TextBox>
  &nbsp;<asp:Button ID="btAdd" runat="server" Text="添加" onclick="btAdd_Click" />
  </div>
        </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>