<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" Inherits="Kesion.NET.WebSite.Admin.Exam.KS_TrangSetting" Codebehind="KS.TrangSetting.aspx.cs" %>
<%@ Import Namespace="Kesion.Cache" %>
<%@ Import Namespace="Kesion.Publics" %>
<%@ Import Namespace="Kesion.BLL" %>
<%@ Import Namespace="System.Data" %>
<asp:Content ID="Content1" ContentPlaceHolderID="KSContent" runat="server">

 <asp:Panel ID="Panel1" runat="server">
    <div class="content-area">   
        <asp:GridView ID="AreaList" CssClass="CTable"  runat="server" AutoGenerateColumns="False" EmptyDataText="!"
        GridLines="None" OnRowDataBound="List_RowDataBound"
        Width="99%" OnRowCommand="AreaList_RowCommand" OnRowCreated="AreaList_RowCreated" >
        <EmptyDataRowStyle CssClass="emptycss" />
        <Columns>
                <asp:BoundField DataField="ClassID" HeaderText="ID">
                <ItemStyle HorizontalAlign="Center" Width="50px" />
            </asp:BoundField>

            <asp:TemplateField HeaderText="&lt;input type='checkbox' name='chkall' onclick='CheckBox(this.checked);' for='chkall'/&gt;" >
            <ItemStyle HorizontalAlign="Left" Width="30" />
            <ItemTemplate>
            <input type="checkbox" name="ids" value='<%#Eval("classID")%>' />
                  </ItemTemplate>
            </asp:TemplateField>        

            <asp:TemplateField HeaderText="名称">
            <ItemStyle HorizontalAlign="Left" Width="280" />
            <ItemTemplate>  
              <asp:Label ID="TxtCity" Text='<%#Eval("classname") %>' runat="server" Width="280px"></asp:Label>
              <asp:HiddenField ID="hdFDepth" Value='<%#Eval("Depth") %>' runat="server" />
             <asp:LinkButton ForeColor="Gray" ID="lkbGo" CommandName="Go" CommandArgument='<%#Eval("classID") %>' runat="server">进入子类</asp:LinkButton>
               
             </ItemTemplate>
            </asp:TemplateField>

            <asp:TemplateField HeaderText="练习是否收费">
            <ItemStyle HorizontalAlign="Center"  />
            <ItemTemplate>
                <asp:HiddenField ID="HidIsShow" runat="server" Value='<%# Eval("trangcharge") %>' />
                 <asp:RadioButtonList ID="RdbIsShow" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">
                     <asp:ListItem Value="0">否</asp:ListItem>
                     <asp:ListItem Value="1">是</asp:ListItem>
                 </asp:RadioButtonList>
             </ItemTemplate>
            </asp:TemplateField>


          
        </Columns>
        <HeaderStyle CssClass="CTitle"  />
    </asp:GridView>
         <KS:Page ID="Page1" runat="server" />
          
    <KS:Foot ID="Foot1" runat="server" CancelButtonVisible="false" OnSubmit="Foot1_Submit" SubmitButtonText="批量保存(0)" />
    </div>  
    </asp:Panel>


</asp:Content>
