public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { ReFacturacion rpt = new ReFacturacion(); rpt.Site = this.Site; return(rpt); }
private void CrystalReportViewer2_Load(object sender, EventArgs e) { ReFacturacion reFacturacion = new ReFacturacion(); reFacturacion.SetDataSource(ListaFacturacion); crystalReportViewer2.ReportSource = reFacturacion; crystalReportViewer2.Refresh(); }