public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { Report1 rpt = new Report1(); rpt.Site = this.Site; return(rpt); }
public void CargarReporte() { VentanaReporte report = new VentanaReporte(); Report1 cr = new Report1(); cr.SetDataSource(filtro()); report.crystalReportViewer.ReportSource = cr; report.crystalReportViewer.Refresh(); report.Show(); }