<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="selectclass.aspx.cs" Inherits="Web.sy.show.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:TemplateField HeaderText="班级">
                          <EditItemTemplate>
                              <asp:Label ID="Label1" runat="server" Text='<%# Eval("grade") %>'></asp:Label>
                          </EditItemTemplate>
                          <ItemTemplate>
                              <asp:Label ID="Label1" runat="server" Text='<%# Bind("grade") %>'></asp:Label>（ <asp:Label ID="Label2" runat="server" Text='<%# Bind("class") %>'></asp:Label>）班
                          </ItemTemplate>
                      </asp:TemplateField>
                               <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="删除"></asp:LinkButton>
                          </ItemTemplate>
                      </asp:TemplateField>
                </Columns>
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
        </asp:GridView>

<!--栏目结束 -->
               
<!--栏目开始 -->
                        <!--这里添加内容 -->
                        <div style =" margin-top :20px;">
   <table style ="width :100%;" ><tr><td style =" width :40px;">学科：
             </td>
             <td> 
            <asp:RadioButtonList ID="rblCourse" runat="server" AutoPostBack="True" 
                      onselectedindexchanged="rblCourse_SelectedIndexChanged" 
                      RepeatDirection="Horizontal"  CellSpacing="10" RepeatColumns="8">
                  </asp:RadioButtonList></td></tr><tr><td style =" width :40px;">年级：</td>
             <td> 
                     <asp:RadioButtonList ID="rblGrade" runat="server" AutoPostBack="True" 
                      onselectedindexchanged="rblGrade_SelectedIndexChanged" 
                      RepeatDirection="Horizontal" CellSpacing="10" RepeatColumns="8">
                  </asp:RadioButtonList></td></tr><tr><td style =" width :40px;">班级：</td>
             <td> 
               <asp:CheckBoxList ID="cblClass" runat="server" RepeatDirection="Horizontal" 
                                CellSpacing="10" RepeatColumns="8">
                            </asp:CheckBoxList></td></tr></table> 
                            <asp:Button ID="btSelectclass" runat="server" Text="认领"  Visible ="false" 
                                onclick="btSelectclass_Click" />
&nbsp;<div>
			</div> 
                </div> 
<!--栏目结束 -->
                </div>
            </div>
        </form>
    </body>
</html>
