public static void showReport(BindingSource bindingSource, String reportCollection) { FormularioReportes formularioReportes = new FormularioReportes(bindingSource, reportCollection); //Microsoft.Reporting.WinForms.ReportParameter p = new Microsoft.Reporting.WinForms.ReportParameter("filtro", bindingSource.Filter); //formularioReportes.reportViewer1.LocalReport.SetParameters(p); formularioReportes.configureParameters(); formularioReportes.ShowDialog(); }
public static void showFormularioReportes(String reportCollection) { FormularioReportes f = new FormularioReportes(); f.fillListVersionReporte(reportCollection); f.handleDataSource(reportCollection); f.reportViewer1.SetDisplayMode(Microsoft.Reporting.WinForms.DisplayMode.PrintLayout); f.ShowDialog(); }