public DataTable DailyCashSelect(dailycollection_Prop dailycollectionprop)
 {
     try
     {
         dailycollectiondal = new dailycollection_dal();
         DataTable dt = dailycollectiondal.DailyCashSelect(dailycollectionprop);
         return(dt);
     }
     catch (Exception e)
     {
         ErrMessage = e.Message;
         return(null);
     }
 }
 public DataSet DailyCollectionDetails(dailycollection_Prop dailycollectionprop)
 {
     try
     {
         dailycollectiondal = new dailycollection_dal();
         DataSet ds = dailycollectiondal.DailyCollectionDetails(dailycollectionprop);
         return(ds);
     }
     catch (Exception e)
     {
         ErrMessage = e.Message;
         return(null);
     }
 }
 public string DailyCollectionInsert(dailycollection_Prop dailycollectionprop)
 {
     try
     {
         dailycollectiondal = new dailycollection_dal();
         string strMsg = dailycollectiondal.DailyCollectionInsert(dailycollectionprop);
         return(strMsg);
     }
     catch (Exception e)
     {
         ErrMessage = e.Message;
         return("");
     }
 }