public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { MemberManagement rpt = new MemberManagement(); rpt.Site = this.Site; return(rpt); }
private void buttonMemberList_Click(object sender, EventArgs e) { SA46Team09BEntities context = new SA46Team09BEntities(); MemberManagement CR = new MemberManagement(); CR.SetDataSource(context.Members); crystalReportViewerReport.ReportSource = CR; ((MAIN)MdiParent).UpdateStatusLabel("Report Generated"); }