Пример #1
0
 /// <summary>
 /// Query exam question
 /// </summary>
 /// <param name="id">examId</param>
 /// <returns></returns>
 public OesDAL.QuestionDS.ExamQuestionDataTable FindQuestionByExamId(int?id)
 {
     try
     {
         ExamQuestionTableAdapter questionAdapter = new ExamQuestionTableAdapter();
         return(questionAdapter.FindQuestionByExamId(id));
     }
     catch (Exception e)
     {
         Log4NetHelper.WriteErrorLog(typeof(QuestionManager), e);
     }
     return(null);
 }
Пример #2
0
        public OesDAL.QuestionDS.ExamQuestionDataTable FindQuestionByExamId(int?id)
        {
            ExamQuestionTableAdapter questionAdapter = new ExamQuestionTableAdapter();

            return(questionAdapter.FindQuestionByExamId(id));
        }