今天和娜姐做ITOO过程中做的是关于二次登陆的页面,业务流程大致是这样的:抽题;抽答题记录,然后把答题记录自动填写到页面上去。
问题:
因为ITOO的前台页面是动态加载的,代码如下:
List<duoxuantiRecordViewModel> queryduoxuanti = IQuerySqlServiceBll.QueryDuoxuantiRecord(studentID)<span style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);"> </span>
//遍历多选题,把多选题显示到界面上去
for (int i = 0; i < queryduoxuanti.Count; i++)
{
int j = i + 1;
string questioncontent = queryduoxuanti[i].QuestionContent;
string answer1 = queryduoxuanti[i].Answer1;
string answer2 = queryduoxuanti[i].Answer2;
string answer3 = queryduoxuanti[i].Answer3;
string answer4 = queryduoxuanti[i].Answer4;
//把学生填写的答案放examanwer变量里面
string examanswer = queryduoxuanti[i].ExamAns