public void QuerySender() { CrystalReport car = new CrystalReport(); car.SetDataSource(db.Members.Where(x => x.Membership_Number == MemberNumber)); this.crystalReportViewer1.ReportSource = car; }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { CrystalReport rpt = new CrystalReport(); rpt.Site = this.Site; return(rpt); }