<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MarkPaper.aspx.cs" Inherits="Admin_Test_MarkPaper" ValidateRequest="false" %>

<!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" />
</head>
<body>
    <form id="form1" runat="server">
        <asp:FormView ID="FormView1" runat="server" DataSourceID="objdsMarkDetail">
            <ItemTemplate>
    <div>
        <div>
            <div class="listAddLink" style="width: 800px">
                <a href="javascript:history.go(-1);">返 回</a></div>
            <div class="listTop" style="width: 800px">
                <span class="title" style="font-size: 10pt; color: #ffffff"><strong>人工评卷</strong></span>
            </div>
            <table cellpadding="0" cellspacing="0" class="form" width="800">
                <tr>
                    <td class="formName" colspan="2">
                        <span style="margin-left: 10px">考试名称：<%#Eval("Test.TestName")%></span> | 考试人员：<%#Eval("Tester.Name") %></td>
                </tr>
                <tr>
                    <td class="titleName" style="width: 200px">
                        考生回答：
                    </td>
                    <td class="inputArea">
                        <asp:TextBox ID="txtTesterAnswer" runat="server" CssClass="txt" Height="200px" TextMode="MultiLine"
                            Width="700px"  Text='<%#Eval("TesterAnswer") %>'></asp:TextBox></td>
                </tr>
                 <tr>
                    <td class="titleName" style="width: 200px; height: 22px">
                        参考答案：
                    </td>
                    <td class="inputArea" style="height: 22px">
                        
                        <asp:TextBox ID="TextBox1" runat="server"   CssClass="txt"
                            Text='<%#Eval("Test.Paper.Answer") %>' Height="200px" TextMode="MultiLine" 
                            Width="700px"></asp:TextBox>       
                    </td>
                </tr>
                <tr>
                    <td class="titleName" style="width: 200px">
                        得分：</td>
                    <td class="inputArea">
                        <asp:TextBox ID="txtTesterMark" runat="server" CssClass="txt" Width="41px" Text='<%#Eval("TotalScore") %>'></asp:TextBox>分 
                          <a href='../Paper/PaperDetail.aspx?paperID=<%#Eval("Test.Paper.PaperID") %>' target="_blank">查看试卷</a></td>
                </tr>
               
                <tr>
                    <td class="titleName" style="width: 200px">
                        备注：</td>
                    <td class="inputArea">
                        <asp:TextBox ID="txtRemark" runat="server" CssClass="txt" Height="100px" TextMode="MultiLine"
                            Width="700px" >评语</asp:TextBox></td>
                </tr>
                <tr>
                    <td class="submitArea" colspan="2">
                        <span style="margin-right:10px"><asp:Button ID="btnSubmit" runat="server" CssClass="btn" Text="提 交" Width="80px" OnClick="btnSubmit_Click" Visible='<%# !((bool)Eval("Marked")) %>' /></span></td>
                </tr>
            </table>
            <br />
        </div>
    
    </div>
            </ItemTemplate>
        </asp:FormView>
        <asp:ObjectDataSource ID="objdsMarkDetail" runat="server" SelectMethod="GetTestRecorderByID"
            TypeName="BLL.BLLTestRecorder">
            <SelectParameters>
                <asp:QueryStringParameter Name="recorderID" QueryStringField="recorderID" Type="Int32" />
            </SelectParameters>
        </asp:ObjectDataSource>
        <asp:HiddenField ID="hfdRecorderID" runat="server" />
        <asp:HiddenField ID="hfdTestID" runat="server" />
    </form>
</body>
</html>
