public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { CrystalSpend rpt = new CrystalSpend(); rpt.Site = this.Site; return(rpt); }
public void PrintSpend() { CrystalSpend rp = new CrystalSpend(); rp.SetDataSource(dt1); crystalReportViewer1.ReportSource = rp; crystalReportViewer1.Refresh(); }