public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { ReporteFacturaCrystal rpt = new ReporteFacturaCrystal(); rpt.Site = this.Site; return(rpt); }
private void CrystalReportViewer1_Load(object sender, EventArgs e) { ReporteFacturaCrystal reporte = new ReporteFacturaCrystal(); reporte.SetDataSource(lista); ReportViewer.ReportSource = reporte; ReportViewer.Refresh(); }