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