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

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

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