Exemple #1
0
 public void LlenaReport()
 {
     ScriptManager.RegisterStartupScript(this.Page, this.Page.GetType(), "Popup", $"ShowReporte('');", true);
     ProveedoresReportViewer.ProcessingMode = ProcessingMode.Local;
     ProveedoresReportViewer.Reset();
     ProveedoresReportViewer.LocalReport.ReportPath = Server.MapPath(@"\Reportes\ReportesProveedores.rdlc");
     ProveedoresReportViewer.LocalReport.DataSources.Clear();
     ProveedoresReportViewer.LocalReport.DataSources.Add(new ReportDataSource("Proveedores", Metodo.INVProveedores()));
     ProveedoresReportViewer.LocalReport.Refresh();
 }