Exemple #1
0
 /// <summary>
 /// 设置每种类型题目可选道数
 /// </summary>
 protected void SetCount()
 {
     lblSRAll.Text = PaperUtil.GetQuesCount(subjectid, "tbSingle").ToString();
     lblCBAll.Text = PaperUtil.GetQuesCount(subjectid, "tbCheck").ToString();
     lblJDAll.Text = PaperUtil.GetQuesCount(subjectid, "tbJudge").ToString();
     lblBFAll.Text = PaperUtil.GetQuesCount(subjectid, "tbBlank").ToString();
     lblSAAll.Text = PaperUtil.GetQuesCount(subjectid, "tbAnswer").ToString();
 }
Exemple #2
0
 protected void BindRpt()
 {
     rptSR.DataSource = PaperUtil.GetQuesCountDetail(subjectid, "tbSingle");
     rptSR.DataBind();
     rptCB.DataSource = PaperUtil.GetQuesCountDetail(subjectid, "tbCheck");
     rptCB.DataBind();
     rptBF.DataSource = PaperUtil.GetQuesCountDetail(subjectid, "tbBlank");
     rptBF.DataBind();
     rptJD.DataSource = PaperUtil.GetQuesCountDetail(subjectid, "tbJudge");
     rptJD.DataBind();
     rptSA.DataSource = PaperUtil.GetQuesCountDetail(subjectid, "tbAnswer");
     rptSA.DataBind();
 }