public static Gift GetGiftByGiftID(int GiftID) { Gift gift = new Gift(); SqlGiftProvider sqlGiftProvider = new SqlGiftProvider(); gift = sqlGiftProvider.GetGiftByGiftID(GiftID); return gift; }
public static DataSet GetDropDownListAllGift() { DataSet gifts = new DataSet(); SqlGiftProvider sqlGiftProvider = new SqlGiftProvider(); gifts = sqlGiftProvider.GetDropDownLisAllGift(); return gifts; }
public static Gift GetGiftByGiftID(int GiftID) { Gift gift = new Gift(); SqlGiftProvider sqlGiftProvider = new SqlGiftProvider(); gift = sqlGiftProvider.GetGiftByGiftID(GiftID); return(gift); }
public static DataSet GetDropDownListAllGift() { DataSet gifts = new DataSet(); SqlGiftProvider sqlGiftProvider = new SqlGiftProvider(); gifts = sqlGiftProvider.GetDropDownLisAllGift(); return(gifts); }
public static void LoadGiftPage(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); SqlGiftProvider sqlGiftProvider = new SqlGiftProvider(); DataSet ds = sqlGiftProvider.GetGiftPageWise(pageIndex, PageSize, out recordCount); gv.DataSource = ds; gv.DataBind(); giftsPaggination(rptPager,recordCount, pageIndex, PageSize); }
public static void LoadGiftPage(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); SqlGiftProvider sqlGiftProvider = new SqlGiftProvider(); DataSet ds = sqlGiftProvider.GetGiftPageWise(pageIndex, PageSize, out recordCount); gv.DataSource = ds; gv.DataBind(); giftsPaggination(rptPager, recordCount, pageIndex, PageSize); }
public static bool DeleteGift(int giftID) { SqlGiftProvider sqlGiftProvider = new SqlGiftProvider(); return(sqlGiftProvider.DeleteGift(giftID)); }
public static bool UpdateGift(Gift gift) { SqlGiftProvider sqlGiftProvider = new SqlGiftProvider(); return(sqlGiftProvider.UpdateGift(gift)); }
public static int InsertGift(Gift gift) { SqlGiftProvider sqlGiftProvider = new SqlGiftProvider(); return(sqlGiftProvider.InsertGift(gift)); }
public static bool UpdateGift(Gift gift) { SqlGiftProvider sqlGiftProvider = new SqlGiftProvider(); return sqlGiftProvider.UpdateGift(gift); }
public static int InsertGift(Gift gift) { SqlGiftProvider sqlGiftProvider = new SqlGiftProvider(); return sqlGiftProvider.InsertGift(gift); }
public static bool DeleteGift(int giftID) { SqlGiftProvider sqlGiftProvider = new SqlGiftProvider(); return sqlGiftProvider.DeleteGift(giftID); }