public void LlenaReport() { ScriptManager.RegisterStartupScript(this.Page, this.Page.GetType(), "Popup", $"ShowReporte('');", true); DepartamentoReportViewer.ProcessingMode = ProcessingMode.Local; DepartamentoReportViewer.Reset(); DepartamentoReportViewer.LocalReport.ReportPath = Server.MapPath(@"\Reportes\ReportesDepartamento.rdlc"); DepartamentoReportViewer.LocalReport.DataSources.Clear(); DepartamentoReportViewer.LocalReport.DataSources.Add(new ReportDataSource("Departamento", Metodo.INVDepartamento())); DepartamentoReportViewer.LocalReport.Refresh(); }