public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { CRArtistReport rpt = new CRArtistReport(); rpt.Site = this.Site; return(rpt); }
private void Ui_ArtistReport_Load(object sender, EventArgs e) { DBService dbs = new DBService(); DataTable dt = dbs.getInfoForReport(Email); CRArtistReport objRpt = new CRArtistReport(); objRpt.SetDataSource(dt); crystalReportViewer1.ReportSource = objRpt; crystalReportViewer1.Refresh(); }