public ListaTotalDocentes() { InitializeComponent(); DataSet informe = logPersonas.listaTotalDocentes(); var reportPath = "GestionJardin.Reporte.Docentes.ListaTotalDocentes.rdlc"; ReportDataSource sReportDataSource = new ReportDataSource(); this.reportViewer1.LocalReport.ReportEmbeddedResource = reportPath; sReportDataSource.Name = "ListaDocSala"; sReportDataSource.Value = informe.Tables[0]; reportViewer1.LocalReport.DataSources.Add(sReportDataSource); this.reportViewer1.LocalReport.Print(); this.reportViewer1.RefreshReport(); }