Web/Admin/Marking/MarkPaper3.aspx.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Collections.Generic;
using Entity;
using BLL;
public partial class Admin_Marking_MarkPaper3 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
RoleCheck.DenyLogin();
if (!IsPostBack)
BindPaperInfo();
}
private int paperID
{
get { return Helper.GetUrlParmValue("paperID"); }
}
private int testID
{
get { return Helper.GetUrlParmValue("testID"); }
}
private int recorderID
{
get { return Helper.GetUrlParmValue("recorderID"); }
}
private void BindPaperInfo()
{
if (paperID < 0)
return;
PaperByRandomSelection paper = new BLLPaperByRandomSelection().GetPaper3(testID,recorderID);
if (paper != null)
{
int totalScoresForTester = 0;
rptSubjectOfJudgeList.DataSource = paper.JudgeList;
rptSubjectOfJudgeList.DataBind();
lblJudgeListCount.Text = paper.JudgeList.Count.ToString();
if (paper.JudgeList.Count > 0)
{
lblJudgeScores.Text = paper.JudgeList[0].Scores.ToString();
lblJudgeTotalScores.Text = (paper.JudgeList[0].Scores * paper.JudgeList.Count).ToString();
int totalScoresForTesterOfSubject = 0;
foreach (SubjectOfJudge subject in paper.JudgeList)
{
totalScoresForTester += subject.ScoresForTester;
后面还有 48 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
