public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { memberList rpt = new memberList(); rpt.Site = this.Site; return(rpt); }
private void Form3_Load(object sender, EventArgs e) { DataSetforCrystalReport hh = new DataSetforCrystalReport(); DataSetforCrystalReportTableAdapters.CRMemberTableAdapter mta = new DataSetforCrystalReportTableAdapters.CRMemberTableAdapter(); mta.Fill(hh.CRMember); memberList rt = new memberList(); rt.SetDataSource(hh); crystalReportViewer1.ReportSource = rt; }