public static DataSet GetDropDownListAllIncome() { DataSet incomes = new DataSet(); SqlIncomeProvider sqlIncomeProvider = new SqlIncomeProvider(); incomes = sqlIncomeProvider.GetDropDownLisAllIncome(); return incomes; }
public static Income GetIncomeByIncomeID(int IncomeID) { Income income = new Income(); SqlIncomeProvider sqlIncomeProvider = new SqlIncomeProvider(); income = sqlIncomeProvider.GetIncomeByIncomeID(IncomeID); return income; }
public static Income GetIncomeByIncomeID(int IncomeID) { Income income = new Income(); SqlIncomeProvider sqlIncomeProvider = new SqlIncomeProvider(); income = sqlIncomeProvider.GetIncomeByIncomeID(IncomeID); return(income); }
public static DataSet GetDropDownListAllIncome() { DataSet incomes = new DataSet(); SqlIncomeProvider sqlIncomeProvider = new SqlIncomeProvider(); incomes = sqlIncomeProvider.GetDropDownLisAllIncome(); return(incomes); }
public static void LoadIncomePage(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); SqlIncomeProvider sqlIncomeProvider = new SqlIncomeProvider(); DataSet ds = sqlIncomeProvider.GetIncomePageWise(pageIndex, PageSize, out recordCount); gv.DataSource = ds; gv.DataBind(); incomesPaggination(rptPager,recordCount, pageIndex, PageSize); }
public static void LoadIncomePage(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); SqlIncomeProvider sqlIncomeProvider = new SqlIncomeProvider(); DataSet ds = sqlIncomeProvider.GetIncomePageWise(pageIndex, PageSize, out recordCount); gv.DataSource = ds; gv.DataBind(); incomesPaggination(rptPager, recordCount, pageIndex, PageSize); }
public static bool UpdateIncome(Income income) { SqlIncomeProvider sqlIncomeProvider = new SqlIncomeProvider(); return sqlIncomeProvider.UpdateIncome(income); }
public static int InsertIncome(Income income) { SqlIncomeProvider sqlIncomeProvider = new SqlIncomeProvider(); return sqlIncomeProvider.InsertIncome(income); }
public static bool DeleteIncome(int incomeID) { SqlIncomeProvider sqlIncomeProvider = new SqlIncomeProvider(); return sqlIncomeProvider.DeleteIncome(incomeID); }
public static bool DeleteIncome(int incomeID) { SqlIncomeProvider sqlIncomeProvider = new SqlIncomeProvider(); return(sqlIncomeProvider.DeleteIncome(incomeID)); }
public static bool UpdateIncome(Income income) { SqlIncomeProvider sqlIncomeProvider = new SqlIncomeProvider(); return(sqlIncomeProvider.UpdateIncome(income)); }
public static int InsertIncome(Income income) { SqlIncomeProvider sqlIncomeProvider = new SqlIncomeProvider(); return(sqlIncomeProvider.InsertIncome(income)); }