コード例 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            MemberInfoCrystalReport rpt = new MemberInfoCrystalReport();

            rpt.Site = this.Site;
            return(rpt);
        }
コード例 #2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            sportsDataSet ds = new sportsDataSet();

            sportsDataSetTableAdapters.membersTableAdapter ta = new sportsDataSetTableAdapters.membersTableAdapter();
            ta.Fill(ds.members);
            MemberInfoCrystalReport cr = new MemberInfoCrystalReport();

            cr.SetDataSource(ds);
            MembersReportViewer.ReportSource = cr;
        }