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

            rpt.Site = this.Site;
            return(rpt);
        }
Exemplo n.º 2
0
        private ReportDocument getReportDocument()
        {
            ReportDocument rviewer = new ReportDocument();

            rviewer = new crtSDRRregister();
            rviewer.Database.Tables[0].SetDataSource(printableData["main"]);
            return(rviewer);
        }