Beispiel #1
0
 public static DataSet GetSTD_ExamTeacherByExamID(int examID)
 {
     DataSet sTD_Exams = new DataSet();
     SqlSTD_ExamProvider sqlSTD_ExamProvider = new SqlSTD_ExamProvider();
     sTD_Exams = sqlSTD_ExamProvider.GetSTD_ExamTeacherByExamID(examID);
     return sTD_Exams;
 }
Beispiel #2
0
 public static DataSet GetSTD_ClassSubjectByClassSubjectID(int ClassSubjectID,bool isDataset)
 {
     DataSet sTD_Exam = new DataSet();
     SqlSTD_ExamProvider sqlSTD_ExamProvider = new SqlSTD_ExamProvider();
     sTD_Exam = sqlSTD_ExamProvider.GetSTD_ExamByClassSubjectID(ClassSubjectID,true);
     return sTD_Exam;
 }
Beispiel #3
0
 public static STD_Exam GetSTD_ExamByExamID(int ExamID)
 {
     STD_Exam sTD_Exam = new STD_Exam();
     SqlSTD_ExamProvider sqlSTD_ExamProvider = new SqlSTD_ExamProvider();
     sTD_Exam = sqlSTD_ExamProvider.GetSTD_ExamByExamID(ExamID);
     return sTD_Exam;
 }
Beispiel #4
0
 public static DataSet GetDropDownListAllSTD_Exam()
 {
     DataSet sTD_Exams = new DataSet();
     SqlSTD_ExamProvider sqlSTD_ExamProvider = new SqlSTD_ExamProvider();
     sTD_Exams = sqlSTD_ExamProvider.GetDropDownLisAllSTD_Exam();
     return sTD_Exams;
 }
Beispiel #5
0
 public static STD_Exam GetSTD_ClassSubjectByClassSubjectID(int ClassSubjectID)
 {
     STD_Exam sTD_Exam = new STD_Exam();
     SqlSTD_ExamProvider sqlSTD_ExamProvider = new SqlSTD_ExamProvider();
     sTD_Exam = sqlSTD_ExamProvider.GetSTD_ExamByClassSubjectID(ClassSubjectID);
     return sTD_Exam;
 }
Beispiel #6
0
 public static DataSet GetAllSTD_ExamsWithRelation()
 {
     DataSet sTD_Exams = new DataSet();
     SqlSTD_ExamProvider sqlSTD_ExamProvider = new SqlSTD_ExamProvider();
     sTD_Exams = sqlSTD_ExamProvider.GetAllSTD_Exams();
     return sTD_Exams;
 }
Beispiel #7
0
 public static STD_Exam GetSTD_RowStatusByRowStatusID(int RowStatusID)
 {
     STD_Exam sTD_Exam = new STD_Exam();
     SqlSTD_ExamProvider sqlSTD_ExamProvider = new SqlSTD_ExamProvider();
     sTD_Exam = sqlSTD_ExamProvider.GetSTD_ExamByRowStatusID(RowStatusID);
     return sTD_Exam;
 }
Beispiel #8
0
 public static bool DeleteSTD_Exam(int sTD_ExamID)
 {
     SqlSTD_ExamProvider sqlSTD_ExamProvider = new SqlSTD_ExamProvider();
     return sqlSTD_ExamProvider.DeleteSTD_Exam(sTD_ExamID);
 }
Beispiel #9
0
 public static bool UpdateSTD_Exam(STD_Exam sTD_Exam)
 {
     SqlSTD_ExamProvider sqlSTD_ExamProvider = new SqlSTD_ExamProvider();
     return sqlSTD_ExamProvider.UpdateSTD_Exam(sTD_Exam);
 }
Beispiel #10
0
 public static void LoadSTD_ExamPage(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_ExamProvider sqlSTD_ExamProvider = new SqlSTD_ExamProvider();
     DataSet ds =  sqlSTD_ExamProvider.GetSTD_ExamPageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      sTD_ExamsPaggination(rptPager,recordCount, pageIndex, PageSize);
 }
Beispiel #11
0
 public static int InsertSTD_Exam(STD_Exam sTD_Exam)
 {
     SqlSTD_ExamProvider sqlSTD_ExamProvider = new SqlSTD_ExamProvider();
     return sqlSTD_ExamProvider.InsertSTD_Exam(sTD_Exam);
 }