public static PaymentType GetPaymentTypeByPymnentTypeID(int PymnentTypeID) { PaymentType paymentType = new PaymentType(); SqlPaymentTypeProvider sqlPaymentTypeProvider = new SqlPaymentTypeProvider(); paymentType = sqlPaymentTypeProvider.GetPaymentTypeByPymnentTypeID(PymnentTypeID); return paymentType; }
public static DataSet GetDropDownListAllPaymentType() { DataSet paymentTypes = new DataSet(); SqlPaymentTypeProvider sqlPaymentTypeProvider = new SqlPaymentTypeProvider(); paymentTypes = sqlPaymentTypeProvider.GetDropDownLisAllPaymentType(); return paymentTypes; }
public static PaymentType GetPaymentTypeByPymnentTypeID(int PymnentTypeID) { PaymentType paymentType = new PaymentType(); SqlPaymentTypeProvider sqlPaymentTypeProvider = new SqlPaymentTypeProvider(); paymentType = sqlPaymentTypeProvider.GetPaymentTypeByPymnentTypeID(PymnentTypeID); return(paymentType); }
public static DataSet GetDropDownListAllPaymentType() { DataSet paymentTypes = new DataSet(); SqlPaymentTypeProvider sqlPaymentTypeProvider = new SqlPaymentTypeProvider(); paymentTypes = sqlPaymentTypeProvider.GetDropDownLisAllPaymentType(); return(paymentTypes); }
public static void LoadPaymentTypePage(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); SqlPaymentTypeProvider sqlPaymentTypeProvider = new SqlPaymentTypeProvider(); DataSet ds = sqlPaymentTypeProvider.GetPaymentTypePageWise(pageIndex, PageSize, out recordCount); gv.DataSource = ds; gv.DataBind(); paymentTypesPaggination(rptPager,recordCount, pageIndex, PageSize); }
public static void LoadPaymentTypePage(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); SqlPaymentTypeProvider sqlPaymentTypeProvider = new SqlPaymentTypeProvider(); DataSet ds = sqlPaymentTypeProvider.GetPaymentTypePageWise(pageIndex, PageSize, out recordCount); gv.DataSource = ds; gv.DataBind(); paymentTypesPaggination(rptPager, recordCount, pageIndex, PageSize); }
public static bool DeletePaymentType(int paymentTypeID) { SqlPaymentTypeProvider sqlPaymentTypeProvider = new SqlPaymentTypeProvider(); return(sqlPaymentTypeProvider.DeletePaymentType(paymentTypeID)); }
public static bool UpdatePaymentType(PaymentType paymentType) { SqlPaymentTypeProvider sqlPaymentTypeProvider = new SqlPaymentTypeProvider(); return(sqlPaymentTypeProvider.UpdatePaymentType(paymentType)); }
public static int InsertPaymentType(PaymentType paymentType) { SqlPaymentTypeProvider sqlPaymentTypeProvider = new SqlPaymentTypeProvider(); return(sqlPaymentTypeProvider.InsertPaymentType(paymentType)); }
public static bool UpdatePaymentType(PaymentType paymentType) { SqlPaymentTypeProvider sqlPaymentTypeProvider = new SqlPaymentTypeProvider(); return sqlPaymentTypeProvider.UpdatePaymentType(paymentType); }
public static int InsertPaymentType(PaymentType paymentType) { SqlPaymentTypeProvider sqlPaymentTypeProvider = new SqlPaymentTypeProvider(); return sqlPaymentTypeProvider.InsertPaymentType(paymentType); }
public static bool DeletePaymentType(int paymentTypeID) { SqlPaymentTypeProvider sqlPaymentTypeProvider = new SqlPaymentTypeProvider(); return sqlPaymentTypeProvider.DeletePaymentType(paymentTypeID); }