private void GetReportTotal(string InitialDate, string FinalDate) { ReportContributionsModel report2 = new ReportContributionsModel(); report2.ShowTotals(InitialDate, FinalDate); sPREPORTCONTRIBUTIONSTOTALBindingSource.DataSource = report2; sPREPORTCONTRIBUTIONSTOTALBindingSource.DataSource = report2.ReportDataContributionsTotal; this.ReportContributionsView.RefreshReport(); }
private void GetReport(string InitialDate, string FinalDate) { ReportContributionsModel report = new ReportContributionsModel(); report.ShowReport(InitialDate, FinalDate); rEPORTCONTRIBUTIONSBindingSource.DataSource = report; rEPORTCONTRIBUTIONSBindingSource.DataSource = report.ReportDataContributions; this.ReportContributionsView.RefreshReport(); }