示例#1
0
 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();
 }
示例#2
0
 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();
 }