public DataSet GetEmployeePaymentVoucherList(clsEmployeePaymentVoucher objemp_payvouchList) { Hashtable htparams = new Hashtable { { "in_epm_id", objemp_payvouchList.epm_id }, { "in_epm_debit", objemp_payvouchList.epm_debit }, { "in_epm_paid", objemp_payvouchList.epm_paid }, { "in_epm_amount", objemp_payvouchList.epm_amount }, { "in_epm_payment_mode", objemp_payvouchList.epm_payment_mode }, { "in_epm_towards", objemp_payvouchList.epm_towards }, { "in_epm_date", objemp_payvouchList.epm_date }, { "in_OpName", objemp_payvouchList.OpName } }; return(ExecuteDataSet("emp_pay_voucher_mst_insert", htparams)); }
public int EmployeePaymentVoucher_Insert(clsEmployeePaymentVoucher objemp_payvouch) { Hashtable htparams = new Hashtable { { "in_epm_id", objemp_payvouch.epm_id }, { "in_epm_debit", objemp_payvouch.epm_debit }, { "in_epm_paid", objemp_payvouch.epm_paid }, { "in_epm_amount", objemp_payvouch.epm_amount }, { "in_epm_payment_mode", objemp_payvouch.epm_payment_mode }, { "in_epm_towards", objemp_payvouch.epm_towards }, { "in_epm_date", objemp_payvouch.epm_date }, { "in_OpName", objemp_payvouch.OpName } }; int IsSucess = ExecuteNonQuery("emp_pay_voucher_mst_insert", htparams); return(IsSucess); }