public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { LectorReportes rpt = new LectorReportes(); rpt.Site = this.Site; return(rpt); }
private void crystalReportViewer1_Load(object sender, EventArgs e) { LectorReportes reportelector = new LectorReportes(); reportelector.SetDataSource(lector); crystalReportViewer1.ReportSource = reportelector; reportelector.Refresh(); }