public static STD_Campus GetSTD_CityByCityID(int CityID) { STD_Campus sTD_Campus = new STD_Campus(); SqlSTD_CampusProvider sqlSTD_CampusProvider = new SqlSTD_CampusProvider(); sTD_Campus = sqlSTD_CampusProvider.GetSTD_CampusByCityID(CityID); return sTD_Campus; }
public static DataSet GetDropDownListAllSTD_Campus() { DataSet sTD_Campuss = new DataSet(); SqlSTD_CampusProvider sqlSTD_CampusProvider = new SqlSTD_CampusProvider(); sTD_Campuss = sqlSTD_CampusProvider.GetDropDownListAllSTD_Campus(); return sTD_Campuss; }
public static DataSet GetAllSTD_CampussWithRelation() { DataSet sTD_Campuss = new DataSet(); SqlSTD_CampusProvider sqlSTD_CampusProvider = new SqlSTD_CampusProvider(); sTD_Campuss = sqlSTD_CampusProvider.GetAllSTD_Campuss(); return sTD_Campuss; }
public static void LoadSTD_CampusPage(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_CampusProvider sqlSTD_CampusProvider = new SqlSTD_CampusProvider(); DataSet ds = sqlSTD_CampusProvider.GetSTD_CampusPageWise(pageIndex, PageSize, out recordCount); gv.DataSource = ds; gv.DataBind(); sTD_CampussPaggination(rptPager,recordCount, pageIndex, PageSize); }
public static int InsertSTD_Campus(STD_Campus sTD_Campus) { SqlSTD_CampusProvider sqlSTD_CampusProvider = new SqlSTD_CampusProvider(); return sqlSTD_CampusProvider.InsertSTD_Campus(sTD_Campus); }
public static bool DeleteSTD_Campus(int sTD_CampusID) { SqlSTD_CampusProvider sqlSTD_CampusProvider = new SqlSTD_CampusProvider(); return sqlSTD_CampusProvider.DeleteSTD_Campus(sTD_CampusID); }
public static bool UpdateSTD_Campus(STD_Campus sTD_Campus) { SqlSTD_CampusProvider sqlSTD_CampusProvider = new SqlSTD_CampusProvider(); return sqlSTD_CampusProvider.UpdateSTD_Campus(sTD_Campus); }