public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { FacturaCrystalReport rpt = new FacturaCrystalReport(); rpt.Site = this.Site; return(rpt); }
public FacturaReport(List <DetalleFactura> lista) { InitializeComponent(); FacturaCrystalReport reporte = new FacturaCrystalReport(); reporte.SetDataSource(lista); Facturaview.ReportSource = reporte; Facturaview.Refresh(); }