예제 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            RptMembers rpt = new RptMembers();

            rpt.Site = this.Site;
            return(rpt);
        }
예제 #2
0
        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();
        }