예제 #1
0
 protected void GetExamDetails(int ExamID, string Slot)
 {
     try
     {
         BEStudent objBEStudent = new BEStudent();
         BStudent  objBStudent  = new BStudent();
         objBEStudent.IntFlag   = 1;
         objBEStudent.IntExamID = ExamID;
         objBStudent.BGetCourseDetailsByExamID(objBEStudent);
         if (objBEStudent.DtResult != null)
         {
             lblCourseName.Text = objBEStudent.DtResult.Rows[0]["CourseName"].ToString() + " [" + objBEStudent.DtResult.Rows[0]["CourseID"].ToString() + "]";
             lblExamName.Text   = objBEStudent.DtResult.Rows[0]["ExamName"].ToString();
             lblDuration.Text   = objBEStudent.DtResult.Rows[0]["ExamDuration"].ToString() + " " + "Minutes";;
             lblSlot.Text       = Slot;
         }
         else
         {
         }
     }
     catch
     {
     }
 }