public DataTable PaymentTypeSearch(paymenttype_Prop paymenttypeprop) { try { return(SqlHelper.ExecuteDataset(com.con, "usp_Paymenttype_search", new object[] { paymenttypeprop.PaymentType }).Tables[0]); } catch (Exception e) { throw e; } }
public string PaymentTypeDelete(paymenttype_Prop paymenttypeprop) { try { return(SqlHelper.ExecuteDataset(com.con, "usp_Paymenttype_delete", new object[] { paymenttypeprop.Paymentid }).Tables[0].Rows[0][0].ToString()); } catch (Exception e) { throw e; } }
public DataTable PaymentTypeSearch(paymenttype_Prop paymenttypeprop) { try { paymenttypedal = new paymenttype_dal(); DataTable dt = paymenttypedal.PaymentTypeSearch(paymenttypeprop); return(dt); } catch (Exception e) { ErrMessage = e.Message; return(null); } }
public string PaymentTypeDelete(paymenttype_Prop paymenttypeprop) { try { paymenttypedal = new paymenttype_dal(); string strMsg = paymenttypedal.PaymentTypeDelete(paymenttypeprop); return(strMsg); } catch (Exception e) { ErrMessage = e.Message; return(""); } }