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

<!DOCTYPE html>
<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 " >

    
   <!--  一组内容模块开始   --> 
    <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>
<div>
<asp:GridView ID="GridView2" runat="server" Width="100%" CssClass="gv" 
            cellspacing="1" BorderWidth="1px" 
                AutoGenerateColumns="False" onrowcreated="GridView2_RowCreated" 
        onrowdeleting="GridView2_RowDeleting" OnRowCancelingEdit="GridView2_RowCancelingEdit" OnRowEditing="GridView2_RowEditing" OnRowUpdating="GridView2_RowUpdating" OnRowDataBound="GridView2_RowDataBound" >
            <RowStyle  CssClass="gvrow" BorderWidth="1px" />
                <Columns>
                  <asp:BoundField DataField="id" HeaderText="id" ReadOnly="True" />
                      <asp:BoundField DataField="coursecode" HeaderText="编码" ReadOnly="True" />
                    <asp:TemplateField HeaderText="学科类别">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("coursename") %>'></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label1" runat="server" Text='<%# Bind("coursename") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="categories" HeaderText="类别" ReadOnly="True" />
                    <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
                
                    <asp:CommandField EditText="修改" HeaderText="修改" ShowEditButton="True" />
                
                </Columns>
            <HeaderStyle  CssClass="gvhead"  />
        </asp:GridView>
        <table style =" width :100%;" >
        <tr style =" height :30px">
        <td style ="width :450px;">   学科类别：     <asp:TextBox ID="tbCourse" runat="server" 
        Width ="160px"></asp:TextBox>    编码：     <asp:TextBox ID="tbCode" runat="server" 
        Width ="160px"></asp:TextBox> </td>
  
       <td style ="width :200px;">      
           <asp:RadioButtonList ID="rblAddCategories" runat="server" 
               RepeatDirection="Horizontal">
               <asp:ListItem Selected="True">普通</asp:ListItem>
               <asp:ListItem>实验</asp:ListItem>
               <asp:ListItem>专业</asp:ListItem>
           </asp:RadioButtonList>
           </td>
        <td style ="width :40px;">        <asp:Button ID="btCoursegrade" runat="server" Text="添加" 
                        onclick="btCoursegrade_Click" /></td>
            <td style =" text-align:right ;  ">
                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl ="login_st_course.aspx">设置当前学期的社团</asp:HyperLink></td>
        </tr>
        </table>
    <br />
                    </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>