<%@ Page Language="C#"  MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" Inherits="Kesion.Net.WebExam.Admin.Exam.KS_BjScore" Codebehind="KS.BjScore.aspx.cs" %>

<%@ Import Namespace="Kesion.Cache" %>
<%@ Import Namespace="Kesion.Publics" %>
<asp:Content ID="Content1" ContentPlaceHolderID="KSContent" Runat="Server">
<style type="text/css">
     @media print { 
          .noprint{display: none; }                
    }  
</style>  
     <asp:Panel runat="server" ID="NoticPanel">
      <div id="manage_top " class="message noprint">       
       &nbsp;&nbsp;<a href="KS.JSToatl.aspx"><strong>返 回</strong></a>  
          &nbsp;&nbsp;   <strong>搜索班级：</strong>
         <asp:DropDownList ID="DropDownList3" runat="server" OnSelectedIndexChanged="DropDownList3_SelectedIndexChanged" AutoPostBack="true"></asp:DropDownList>       
         <asp:DropDownList ID="DropDownList4" runat="server" OnSelectedIndexChanged="DropDownList4_SelectedIndexChanged" AutoPostBack="true"></asp:DropDownList> 
         <asp:DropDownList ID="DropDownList5" runat="server" OnSelectedIndexChanged="DropDownList5_SelectedIndexChanged" AutoPostBack="true"></asp:DropDownList> 
      </div>   
	<div class="content-area">          
      <div style="text-align:center" class="message">
         试卷标题：<asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>   
      </div>  
    <asp:Repeater ID="Repeater1" runat="server"  onitemcommand="Repeater1_ItemCommand" >
    <HeaderTemplate>
       <table width="95%" border="0" align="center" cellpadding="1" cellspacing="0" class="CTable">
                  <tr align="center" class="title">
                    <td width="35px" align="center">序号</td>
					<td width="150px" align="center">学校</td>
                    <td align="center">班级</td>                           
                    <td  align="center">参加人数</td>  
                    <td  align="center">实考人数</td>
                    <td  align="center">平均成绩</td>                                                                       
                  </tr>    
    </HeaderTemplate>
    <ItemTemplate>
      <tr class="tdbg">
                   <td align="center" height="40px">
                   <%#Repeater1.Items.Count+1 %>.                   
                   </td> 
				   <td align="center">
                    <%# Kesion.Exam.Grades.GradeSchoolName(Utils.StrToInt(Eval("schoolid")),"name") %>
                   </td>
                   <td align="center">
                     <span style="color:green"><i> <%# Kesion.Exam.Grades.GradeNianJiName(Utils.StrToInt(Eval("njid")),"name") %>&nbsp;<%#Eval("name") %></i>    
                     </span>
                   </td> 
              	   <td align="center">
                    <%# Utils.StrToInt(Eval("StudentTotal")) %>人
                   </td>        	
                   <td align="center">
                    <a href="KS.BJUser.aspx?classid=<%#Eval("classid") %>&sjid=<%=sjid %>"><%# getck(Utils.StrToInt(Eval("classid"))) %>人</a>
                       <a href="KS.BJUser.aspx?classid=<%#Eval("classid") %>&sjid=<%=sjid %>">(查看)</a>
                   </td> 
                   <td align="center">
                    <span style='font-weight:bold;'><font style='color:brown'><%# getpj(Utils.StrToInt(Eval("classid"))) %></font>(分)</span>      
                   </td>     			                             
                  </tr>
     </ItemTemplate>
     <FooterTemplate>
         <tr class="tdbg" style="display:<%# bool.Parse((Repeater1.Items.Count==0).ToString())?"":"none"%>">
                <td class="splittd" style="text-align:center" colspan="10">
                   <div class="empty">没有相关记录！</div>
                </td>
           </tr> 
      </table>
     </FooterTemplate>
    </asp:Repeater>
  <div class="message noprint">
        <input type="button" value="打印用户" OnClick="windown: print()" class="button"/>
     <KS:Page ID="page1" runat="server" />
</div>
</asp:Panel>
</div>
</asp:Content>



