Example #1
0
 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;
     }
 }
Example #2
0
 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;
     }
 }
Example #3
0
 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);
     }
 }
Example #4
0
 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("");
     }
 }