Exemple #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalHarvestReport1 rpt = new CrystalHarvestReport1();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemple #2
0
        private void HarvestForm_Report_Load(object sender, EventArgs e)
        {
            IT_Project_DatabaseEntities db = new IT_Project_DatabaseEntities();
            CrystalHarvestReport1       cr = new CrystalHarvestReport1();

            cr.SetDataSource(db.HarvestTables.ToList());
            crystalReportHarvestViewer.ReportSource = cr;
        }