private void crystalReportViewer1_Load(object sender, EventArgs e) { ROReport obj = new ROReport(); obj.SetDataSource(getBill(ADID)); crystalReportViewer1.ReportSource = obj; }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { ROReport rpt = new ROReport(); rpt.Site = this.Site; return(rpt); }