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

            rpt.Site = this.Site;
            return(rpt);
        }
        private void BooksReportViewer_Load(object sender, EventArgs e)
        {
            BooksReport rpt = new BooksReport();

            rpt.SetDataSource(_list);
            crystalReportViewer1.ReportSource = rpt;
            crystalReportViewer1.Refresh();
        }