public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { RptMembers rpt = new RptMembers(); rpt.Site = this.Site; return(rpt); }
private void MemberReport_Load(object sender, EventArgs e) { RptMembers Report1 = new RptMembers(); MembersDataset dsMembers = GetData(); Report1.SetDataSource(dsMembers); this.crystalReportViewer1.ReportSource = Report1; this.crystalReportViewer1.RefreshReport(); }