protected void BindExistingExamDetails() { try { BECourseAdmin objBEExamProvider = new BECourseAdmin(); BCourseAdmin objBExamProvider = new BCourseAdmin(); objBEExamProvider.IntUserID = Convert.ToInt32(Session[BaseClass.EnumPageSessions.USERID].ToString()); objBEExamProvider.strCourseName = string.Empty;; objBEExamProvider.strExamName = string.Empty;; objBExamProvider.BGetExistingExamDetails(objBEExamProvider); gvExamDetails.DataSource = objBEExamProvider.DtResult; } catch (Exception) { } }