private void btnBuscar_Click(object sender, EventArgs e) { DataTable tabla = new DataTable(); tabla = oProyectoService.recuperarProyectosFacturadosEstadistica(dtpFechaDesde.Value, dtpFechaHasta.Value); ReportDataSource ds = new ReportDataSource("ProyectosFacturados", tabla); DataTable tabla1 = new DataTable(); tabla1 = oProyectoService.recuperarProyectosPorResponsables(dtpFechaDesde.Value, dtpFechaHasta.Value); ReportDataSource ds1 = new ReportDataSource("ResponsablesProyecto", tabla1); reportViewer1.LocalReport.DataSources.Clear(); reportViewer1.LocalReport.DataSources.Add(ds); reportViewer1.LocalReport.DataSources.Add(ds1); reportViewer1.LocalReport.SetParameters(new ReportParameter[] { new ReportParameter("prmFechaDesde", dtpFechaDesde.Value.ToShortDateString()), new ReportParameter("prmFechaHasta", dtpFechaHasta.Value.ToShortDateString()) }); reportViewer1.LocalReport.Refresh(); reportViewer1.RefreshReport(); }