Ejemplo n.º 1
0
 public static STD_Program GetSTD_ProgramByProgramID(int ProgramID)
 {
     STD_Program sTD_Program = new STD_Program();
     SqlSTD_ProgramProvider sqlSTD_ProgramProvider = new SqlSTD_ProgramProvider();
     sTD_Program = sqlSTD_ProgramProvider.GetSTD_ProgramByProgramID(ProgramID);
     return sTD_Program;
 }
Ejemplo n.º 2
0
 public static STD_Program GetSTD_CourseByCourseID(int CourseID)
 {
     STD_Program sTD_Program = new STD_Program();
     SqlSTD_ProgramProvider sqlSTD_ProgramProvider = new SqlSTD_ProgramProvider();
     sTD_Program = sqlSTD_ProgramProvider.GetSTD_ProgramByCourseID(CourseID);
     return sTD_Program;
 }
Ejemplo n.º 3
0
 public static DataSet GetDropDownListAllSTD_Program()
 {
     DataSet sTD_Programs = new DataSet();
     SqlSTD_ProgramProvider sqlSTD_ProgramProvider = new SqlSTD_ProgramProvider();
     sTD_Programs = sqlSTD_ProgramProvider.GetDropDownLisAllSTD_Program();
     return sTD_Programs;
 }
Ejemplo n.º 4
0
 public static void LoadSTD_ProgramPage(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_ProgramProvider sqlSTD_ProgramProvider = new SqlSTD_ProgramProvider();
     DataSet ds =  sqlSTD_ProgramProvider.GetSTD_ProgramPageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
     COMN_CommonManager common= new COMN_CommonManager();
     COMN_CommonManager.Paggination(rptPager,recordCount, pageIndex, PageSize);
 }
Ejemplo n.º 5
0
 public static bool UpdateSTD_Program(STD_Program sTD_Program)
 {
     SqlSTD_ProgramProvider sqlSTD_ProgramProvider = new SqlSTD_ProgramProvider();
     return sqlSTD_ProgramProvider.UpdateSTD_Program(sTD_Program);
 }
Ejemplo n.º 6
0
 public static int InsertSTD_Program(STD_Program sTD_Program)
 {
     SqlSTD_ProgramProvider sqlSTD_ProgramProvider = new SqlSTD_ProgramProvider();
     return sqlSTD_ProgramProvider.InsertSTD_Program(sTD_Program);
 }
Ejemplo n.º 7
0
 public static bool DeleteSTD_Program(int sTD_ProgramID)
 {
     SqlSTD_ProgramProvider sqlSTD_ProgramProvider = new SqlSTD_ProgramProvider();
     return sqlSTD_ProgramProvider.DeleteSTD_Program(sTD_ProgramID);
 }