Ejemplo n.º 1
0
    public void BindTopic()
    {
        DataClassesDataContext db = new DataClassesDataContext();


        Exam exam = db.Exam.First(t => t.ExamId == decimal.Parse(examId));

        theExamId = exam.TheExamId.ToString();
        if (exam == null)
        {
            alert("获取试卷信息失败!", "AllExam.aspx");
        }

        examName = examBll.GetExamName(exam);
        topics   = examBll.GetPracTopicByExamId(ref pageNumber, ref totalPage, ref count, examId);
    }