Exemplo n.º 1
0
 public static STD_QuestionChapter GetSTD_QuestionChapterByQuestion_ChapterID(int Question_ChapterID)
 {
     STD_QuestionChapter sTD_QuestionChapter = new STD_QuestionChapter();
     SqlSTD_QuestionChapterProvider sqlSTD_QuestionChapterProvider = new SqlSTD_QuestionChapterProvider();
     sTD_QuestionChapter = sqlSTD_QuestionChapterProvider.GetSTD_QuestionChapterByQuestion_ChapterID(Question_ChapterID);
     return sTD_QuestionChapter;
 }
Exemplo n.º 2
0
 public static DataSet GetDropDownListAllSTD_QuestionChapter()
 {
     DataSet sTD_QuestionChapters = new DataSet();
     SqlSTD_QuestionChapterProvider sqlSTD_QuestionChapterProvider = new SqlSTD_QuestionChapterProvider();
     sTD_QuestionChapters = sqlSTD_QuestionChapterProvider.GetDropDownListAllSTD_QuestionChapter();
     return sTD_QuestionChapters;
 }
Exemplo n.º 3
0
 public static void LoadSTD_QuestionChapterPage(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);
     SqlSTD_QuestionChapterProvider sqlSTD_QuestionChapterProvider = new SqlSTD_QuestionChapterProvider();
     DataSet ds =  sqlSTD_QuestionChapterProvider.GetSTD_QuestionChapterPageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      sTD_QuestionChaptersPaggination(rptPager,recordCount, pageIndex, PageSize);
 }
Exemplo n.º 4
0
 public static int InsertSTD_QuestionChapter(STD_QuestionChapter sTD_QuestionChapter)
 {
     SqlSTD_QuestionChapterProvider sqlSTD_QuestionChapterProvider = new SqlSTD_QuestionChapterProvider();
     return sqlSTD_QuestionChapterProvider.InsertSTD_QuestionChapter(sTD_QuestionChapter);
 }
Exemplo n.º 5
0
 public static bool DeleteSTD_QuestionChapter(int sTD_QuestionChapterID)
 {
     SqlSTD_QuestionChapterProvider sqlSTD_QuestionChapterProvider = new SqlSTD_QuestionChapterProvider();
     return sqlSTD_QuestionChapterProvider.DeleteSTD_QuestionChapter(sTD_QuestionChapterID);
 }
Exemplo n.º 6
0
 public static bool UpdateSTD_QuestionChapter(STD_QuestionChapter sTD_QuestionChapter)
 {
     SqlSTD_QuestionChapterProvider sqlSTD_QuestionChapterProvider = new SqlSTD_QuestionChapterProvider();
     return sqlSTD_QuestionChapterProvider.UpdateSTD_QuestionChapter(sTD_QuestionChapter);
 }