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

            rpt.Site = this.Site;
            return(rpt);
        }
        private void crystalReportViewer1_Load(object sender, EventArgs e)
        {
            ReportLibrosBiblicos ListadoLibros = new ReportLibrosBiblicos();

            ListadoLibros.SetDataSource(Libros);

            LibrosBiblicosReportViewer.ReportSource = ListadoLibros;
            LibrosBiblicosReportViewer.Refresh();
        }