Esempio n. 1
0
 public static PaymentType GetPaymentTypeByPymnentTypeID(int PymnentTypeID)
 {
     PaymentType paymentType = new PaymentType();
     SqlPaymentTypeProvider sqlPaymentTypeProvider = new SqlPaymentTypeProvider();
     paymentType = sqlPaymentTypeProvider.GetPaymentTypeByPymnentTypeID(PymnentTypeID);
     return paymentType;
 }
Esempio n. 2
0
 public static DataSet GetDropDownListAllPaymentType()
 {
     DataSet paymentTypes = new DataSet();
     SqlPaymentTypeProvider sqlPaymentTypeProvider = new SqlPaymentTypeProvider();
     paymentTypes = sqlPaymentTypeProvider.GetDropDownLisAllPaymentType();
     return paymentTypes;
 }
Esempio n. 3
0
    public static PaymentType GetPaymentTypeByPymnentTypeID(int PymnentTypeID)
    {
        PaymentType            paymentType            = new PaymentType();
        SqlPaymentTypeProvider sqlPaymentTypeProvider = new SqlPaymentTypeProvider();

        paymentType = sqlPaymentTypeProvider.GetPaymentTypeByPymnentTypeID(PymnentTypeID);
        return(paymentType);
    }
Esempio n. 4
0
    public static DataSet  GetDropDownListAllPaymentType()
    {
        DataSet paymentTypes = new DataSet();
        SqlPaymentTypeProvider sqlPaymentTypeProvider = new SqlPaymentTypeProvider();

        paymentTypes = sqlPaymentTypeProvider.GetDropDownLisAllPaymentType();
        return(paymentTypes);
    }
Esempio n. 5
0
 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);
 }
Esempio n. 6
0
    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);
    }
Esempio n. 7
0
    public static bool DeletePaymentType(int paymentTypeID)
    {
        SqlPaymentTypeProvider sqlPaymentTypeProvider = new SqlPaymentTypeProvider();

        return(sqlPaymentTypeProvider.DeletePaymentType(paymentTypeID));
    }
Esempio n. 8
0
    public static bool UpdatePaymentType(PaymentType paymentType)
    {
        SqlPaymentTypeProvider sqlPaymentTypeProvider = new SqlPaymentTypeProvider();

        return(sqlPaymentTypeProvider.UpdatePaymentType(paymentType));
    }
Esempio n. 9
0
    public static int InsertPaymentType(PaymentType paymentType)
    {
        SqlPaymentTypeProvider sqlPaymentTypeProvider = new SqlPaymentTypeProvider();

        return(sqlPaymentTypeProvider.InsertPaymentType(paymentType));
    }
Esempio n. 10
0
 public static bool UpdatePaymentType(PaymentType paymentType)
 {
     SqlPaymentTypeProvider sqlPaymentTypeProvider = new SqlPaymentTypeProvider();
     return sqlPaymentTypeProvider.UpdatePaymentType(paymentType);
 }
Esempio n. 11
0
 public static int InsertPaymentType(PaymentType paymentType)
 {
     SqlPaymentTypeProvider sqlPaymentTypeProvider = new SqlPaymentTypeProvider();
     return sqlPaymentTypeProvider.InsertPaymentType(paymentType);
 }
Esempio n. 12
0
 public static bool DeletePaymentType(int paymentTypeID)
 {
     SqlPaymentTypeProvider sqlPaymentTypeProvider = new SqlPaymentTypeProvider();
     return sqlPaymentTypeProvider.DeletePaymentType(paymentTypeID);
 }