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

<!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 =" height :20px">  当前学期：<asp:Label ID="lbSemester" runat="server" ></asp:Label></div>
			<asp:GridView ID="GridView2" runat="server" Width="100%" 
                BorderWidth="1px" CssClass="gv" AutoGenerateColumns="False" 
                    onrowcreated="GridView2_RowCreated" onrowdeleting="GridView2_RowDeleting" 
                    onrowdatabound="GridView2_RowDataBound" >
            <RowStyle BorderWidth="1px" CssClass="gvrow" />
                  <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="checked" HeaderText="审核" ReadOnly="True" />
                      <asp:TemplateField HeaderText="删除" ShowHeader="False">
                          <ItemTemplate>
                              <asp:LinkButton ID="gvlbdel" runat="server" CausesValidation="False"  Visible ="false" 
                                  CommandName="Delete" Text="删除"  onClientClick="return confirm('确认删除吗？')" ></asp:LinkButton>
                          </ItemTemplate>
                      </asp:TemplateField>
                </Columns>
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
        </asp:GridView>

<!--栏目结束 -->
               
<!--栏目开始 -->
                        <!--这里添加内容 -->
                                    <table style ="width :100%;" ><tr><td style =" width :70px;">学科类别：
             </td>
             <td> 
            <asp:RadioButtonList ID="rblCourse" runat="server" 
                      RepeatDirection="Horizontal"  CellSpacing="10">
                  </asp:RadioButtonList>
        </td></tr></table> 
<div runat ="server" id ="add">社团名称：<asp:TextBox ID="tbName" runat="server" Width="228px"></asp:TextBox>
                             （例：民乐社团）&nbsp;<asp:Button ID="btSelectclass" 
        runat="server" Text="添加"
                                onclick="btSelectclass_Click" 
        ValidationGroup="add" />

			<asp:RequiredFieldValidator ID="RequiredFieldValidator12" 
        runat="server" ControlToValidate="tbName" Display="Dynamic" 
        ErrorMessage="请填入社团名称。" ForeColor="Red" ValidationGroup="add"></asp:RequiredFieldValidator>

			</div> 
<!--栏目结束 -->
                </div>
            </div>
        </form>
    </body>
</html>
