public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { FacturaReport rpt = new FacturaReport(); rpt.Site = this.Site; return(rpt); }
private void CrystalReportViewer1_Load(object sender, EventArgs e) { FacturaReport listado = new FacturaReport(); listado.SetDataSource(ListaPedidos); crystalReportViewer1.ReportSource = ListaPedidos; crystalReportViewer1.Refresh(); }