Exemplo n.º 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalReport1 rpt = new CrystalReport1();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemplo n.º 2
0
        void CreateReport()
        {
            CrystalReport1 rp = new CrystalReport1();

            rp.Database.Tables[0].SetDataSource(dataSet11);
            rp.Database.Tables[1].SetDataSource(dataSet11);
            rp.Database.Tables[2].SetDataSource(dataSet11);
            crystalReportViewer1.ReportSource = rp;
        }