public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { ReporteEntradaCrystal rpt = new ReporteEntradaCrystal(); rpt.Site = this.Site; return(rpt); }
public ReporteEntrada(List <EntradaProducto> lista) { InitializeComponent(); ReporteEntradaCrystal reporte = new ReporteEntradaCrystal(); reporte.SetDataSource(lista); ReportViewer.ReportSource = reporte; ReportViewer.Refresh(); }