Пример #1
0
 public void  LoadDailyReport()
 {
     var bl = new BLReports();
     var ds = bl.GetDailySales(ClosingDifference, DateTime.Now, DateTime.Now, false);
     dailySalesBindingSource.DataSource = ds;
     var dscredit = bl.GetCreditDetails(DateTime.Now, DateTime.Now, false);
     gridControl2.DataSource = dscredit;
 }
Пример #2
0
 public void LoadDailyReport(DateTime d1,DateTime d2,bool t=true,bool useconstr=false,string newconstr="p")
 {
     var bl = new BLReports();
     var ds = bl.GetDailySales(ClosingDifference, d1.Date, d2.Date, t,useconstr,newconstr);
     dailySalesBindingSource.DataSource = ds;
     var dscredit = bl.GetCreditDetails(d1.Date, d2.Date, t, useconstr, newconstr);
     gridControl2.DataSource = dscredit;
 }