Exemplo n.º 1
0
 public static STD_ExamType GetSTD_RowStatusByRowStatusID(int RowStatusID)
 {
     STD_ExamType sTD_ExamType = new STD_ExamType();
     SqlSTD_ExamTypeProvider sqlSTD_ExamTypeProvider = new SqlSTD_ExamTypeProvider();
     sTD_ExamType = sqlSTD_ExamTypeProvider.GetSTD_ExamTypeByRowStatusID(RowStatusID);
     return sTD_ExamType;
 }
Exemplo n.º 2
0
 public static STD_ExamType GetSTD_ExamTypeByExamTypeID(int ExamTypeID)
 {
     STD_ExamType sTD_ExamType = new STD_ExamType();
     SqlSTD_ExamTypeProvider sqlSTD_ExamTypeProvider = new SqlSTD_ExamTypeProvider();
     sTD_ExamType = sqlSTD_ExamTypeProvider.GetSTD_ExamTypeByExamTypeID(ExamTypeID);
     return sTD_ExamType;
 }
Exemplo n.º 3
0
 public static DataSet GetDropDownListAllSTD_ExamType()
 {
     DataSet sTD_ExamTypes = new DataSet();
     SqlSTD_ExamTypeProvider sqlSTD_ExamTypeProvider = new SqlSTD_ExamTypeProvider();
     sTD_ExamTypes = sqlSTD_ExamTypeProvider.GetDropDownLisAllSTD_ExamType();
     return sTD_ExamTypes;
 }
Exemplo n.º 4
0
 public static void LoadSTD_ExamTypePage(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_ExamTypeProvider sqlSTD_ExamTypeProvider = new SqlSTD_ExamTypeProvider();
     DataSet ds =  sqlSTD_ExamTypeProvider.GetSTD_ExamTypePageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      sTD_ExamTypesPaggination(rptPager,recordCount, pageIndex, PageSize);
 }
Exemplo n.º 5
0
 public static bool UpdateSTD_ExamType(STD_ExamType sTD_ExamType)
 {
     SqlSTD_ExamTypeProvider sqlSTD_ExamTypeProvider = new SqlSTD_ExamTypeProvider();
     return sqlSTD_ExamTypeProvider.UpdateSTD_ExamType(sTD_ExamType);
 }
Exemplo n.º 6
0
 public static int InsertSTD_ExamType(STD_ExamType sTD_ExamType)
 {
     SqlSTD_ExamTypeProvider sqlSTD_ExamTypeProvider = new SqlSTD_ExamTypeProvider();
     return sqlSTD_ExamTypeProvider.InsertSTD_ExamType(sTD_ExamType);
 }
Exemplo n.º 7
0
 public static bool DeleteSTD_ExamType(int sTD_ExamTypeID)
 {
     SqlSTD_ExamTypeProvider sqlSTD_ExamTypeProvider = new SqlSTD_ExamTypeProvider();
     return sqlSTD_ExamTypeProvider.DeleteSTD_ExamType(sTD_ExamTypeID);
 }