<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestMarkedList.aspx.cs" Inherits="Admin_Scores_TestMarkedList" %>

<!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 runat="server">
    <title>成绩管理</title>
    <link href="../../StyleSheet.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    function mouseDown(obj)
    {
        var e=document.getElementById(obj.id);
        if(e.value=="考生账号")
            e.value="";
    }
    function mouseUp(objID)
    {
          var e=document.getElementById(objID);
          if(e.value=="")
            e.value="考生账号";
    }
    </script>
</head>
<body >
    <form id="form1" runat="server" defaultbutton="btnSearchScores">
    <div>
     <div class="listAddLink" >
       <asp:RadioButtonList ID="rblSearchType" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">
           <asp:ListItem Selected="True" Value="1">姓名</asp:ListItem>
           <asp:ListItem Value="2">账号</asp:ListItem>
         </asp:RadioButtonList>
         <asp:TextBox ID="txtUserID" runat="server" Text="" BorderColor="Black" BorderWidth="1px" Width="100px" ></asp:TextBox>  <asp:Button
             ID="btnSearchScores" runat="server" Text="成绩查询" Width="80px" 
             CssClass="btn" onclick="btnSearchScores_Click"/>
          
            </div>
        <div class="listTop">
            <span class="title">成绩管理</span>
        </div >
        <asp:Repeater ID="rptTestList" runat="server">
            <HeaderTemplate>
            <table border="0" cellpadding="0" cellspacing="0" class="tableList" width="800">
            <tr class="header">
                <td style="width: 30px; height: 20px">
                    编号</td>
                <td style="height: 20px">
                    考试名称</td>
                <td style="height: 20px">
                    试卷总分</td>
                <td style="height: 20px">
                    通过分数</td>
                <td style="height: 20px">
                    考试人数</td>
                <td style="height: 20px">
                    已参加人数</td>
                <td style="height: 20px">
                    操作</td>
            </tr>
            </HeaderTemplate>
            <ItemTemplate>
            <tr class="body">
                <td style="width: 20px; height: 18px">
                    <%#Eval("TestID") %></td>
                <td style="height: 18px">
                    <%#Eval("TestName") %>
                </td>
                <td style="height: 18px">
                    <%#Eval("TotalScores") %>分</td>
                <td style="height: 18px">
                    <%#Eval("PassScores") %>分</td>
                <td style="height: 18px">
                    <%#Eval("TesterCount") %>人</td>
                <td style="height: 18px">
                    <%#Eval("TesterCountHasTested") %>人</td>
                <td style="height: 18px">
                    &nbsp;<a href='TestMarkedUserList.aspx?TestID=<%#Eval("TestID") %>'>查看成绩</a> | <a href='CountMark.aspx?TestID=<%#Eval("TestID") %>'>成绩统计</a></td>
            </tr>
            </ItemTemplate>
            <FooterTemplate>
            </table>
            </FooterTemplate>
        </asp:Repeater>
        <div class="listBottom">
            <asp:Label ID="lblPageUrl" runat="server" Text="" ForeColor="White"></asp:Label></div>
    
    </div>
    </form>
</body>
</html>
