public string CashCollectionInsert(cashcollection_Prop cashcollectionprop) { try { return(SqlHelper.ExecuteDataset(com.con, "usp_CashCollectionBoy_INSERT", new object[] { cashcollectionprop.CounterID, cashcollectionprop.BoyName, cashcollectionprop.cDate }).Tables[0].Rows[0][0].ToString()); } catch (Exception e) { throw e; } }
public string CashCollectionInsert(cashcollection_Prop cashcollectionprop) { try { cashcollectiondal = new cashcollection_dal(); string strMsg = cashcollectiondal.CashCollectionInsert(cashcollectionprop); return(strMsg); } catch (Exception e) { ErrMessage = e.Message; return(""); } }