public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalDeposet rpt = new CrystalDeposet();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemple #2
0
        public void PrintDeposet()
        {
            CrystalDeposet rp = new CrystalDeposet();

            rp.SetDataSource(dt1);
            crystalReportViewer1.ReportSource = rp;
            crystalReportViewer1.Refresh();
        }