public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { CrystalReport2 rpt = new CrystalReport2(); rpt.Site = this.Site; return(rpt); }
void CreateReport() { CrystalReport2 rp = new CrystalReport2(); rp.Database.Tables[0].SetDataSource(dataSet11); rp.Database.Tables[1].SetDataSource(dataSet11); rp.Database.Tables[2].SetDataSource(dataSet11); rp.Database.Tables[3].SetDataSource(dataSet11); crystalReportViewer1.ReportSource = rp; }