public static Quiz_MultipleQuestionDetails GetQuiz_MultipleQustionByMultipleQustionID(int MultipleQustionID)
 {
     Quiz_MultipleQuestionDetails quiz_MultipleQuestionDetails = new Quiz_MultipleQuestionDetails();
     SqlQuiz_MultipleQuestionDetailsProvider sqlQuiz_MultipleQuestionDetailsProvider = new SqlQuiz_MultipleQuestionDetailsProvider();
     quiz_MultipleQuestionDetails = sqlQuiz_MultipleQuestionDetailsProvider.GetQuiz_MultipleQuestionDetailsByMultipleQustionID(MultipleQustionID);
     return quiz_MultipleQuestionDetails;
 }
 public static DataSet GetDropDownListAllQuiz_MultipleQuestionDetails()
 {
     DataSet quiz_MultipleQuestionDetailss = new DataSet();
     SqlQuiz_MultipleQuestionDetailsProvider sqlQuiz_MultipleQuestionDetailsProvider = new SqlQuiz_MultipleQuestionDetailsProvider();
     quiz_MultipleQuestionDetailss = sqlQuiz_MultipleQuestionDetailsProvider.GetDropDownLisAllQuiz_MultipleQuestionDetails();
     return quiz_MultipleQuestionDetailss;
 }
 public static DataSet GetAllQuiz_MultipleQuestionDetailssWithRelation()
 {
     DataSet quiz_MultipleQuestionDetailss = new DataSet();
     SqlQuiz_MultipleQuestionDetailsProvider sqlQuiz_MultipleQuestionDetailsProvider = new SqlQuiz_MultipleQuestionDetailsProvider();
     quiz_MultipleQuestionDetailss = sqlQuiz_MultipleQuestionDetailsProvider.GetAllQuiz_MultipleQuestionDetailss();
     return quiz_MultipleQuestionDetailss;
 }
 public static DataSet GetAllQuiz_MultipleQuestionDetailsByMultipleQustionID(int MultipleQustionID)
 {
     DataSet quiz_MultipleQuestionDetailss = new DataSet();
     SqlQuiz_MultipleQuestionDetailsProvider sqlQuiz_MultipleQuestionDetailsProvider = new SqlQuiz_MultipleQuestionDetailsProvider();
     quiz_MultipleQuestionDetailss = sqlQuiz_MultipleQuestionDetailsProvider.GetAllQuiz_MultipleQuestionDetailsByMultipleQustionID(MultipleQustionID);
     return quiz_MultipleQuestionDetailss;
 }
 public static void LoadQuiz_MultipleQuestionDetailsPage(System.Web.UI.WebControls.GridView gv, System.Web.UI.WebControls.Repeater rptPager, int pageIndex, DropDownList ddlPageSize)
 {
     int recordCount=0;
     int PageSize =  int.Parse(ddlPageSize.SelectedValue);
     SqlQuiz_MultipleQuestionDetailsProvider sqlQuiz_MultipleQuestionDetailsProvider = new SqlQuiz_MultipleQuestionDetailsProvider();
     DataSet ds =  sqlQuiz_MultipleQuestionDetailsProvider.GetQuiz_MultipleQuestionDetailsPageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      quiz_MultipleQuestionDetailssPaggination(rptPager,recordCount, pageIndex, PageSize);
 }
 public static int InsertQuiz_MultipleQuestionDetails(Quiz_MultipleQuestionDetails quiz_MultipleQuestionDetails)
 {
     SqlQuiz_MultipleQuestionDetailsProvider sqlQuiz_MultipleQuestionDetailsProvider = new SqlQuiz_MultipleQuestionDetailsProvider();
     return sqlQuiz_MultipleQuestionDetailsProvider.InsertQuiz_MultipleQuestionDetails(quiz_MultipleQuestionDetails);
 }
 public static bool DeleteQuiz_MultipleQuestionDetails(int quiz_MultipleQuestionDetailsID)
 {
     SqlQuiz_MultipleQuestionDetailsProvider sqlQuiz_MultipleQuestionDetailsProvider = new SqlQuiz_MultipleQuestionDetailsProvider();
     return sqlQuiz_MultipleQuestionDetailsProvider.DeleteQuiz_MultipleQuestionDetails(quiz_MultipleQuestionDetailsID);
 }
 public static bool UpdateQuiz_MultipleQuestionDetails(Quiz_MultipleQuestionDetails quiz_MultipleQuestionDetails)
 {
     SqlQuiz_MultipleQuestionDetailsProvider sqlQuiz_MultipleQuestionDetailsProvider = new SqlQuiz_MultipleQuestionDetailsProvider();
     return sqlQuiz_MultipleQuestionDetailsProvider.UpdateQuiz_MultipleQuestionDetails(quiz_MultipleQuestionDetails);
 }