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