Esempio n. 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            AllPassengersReport rpt = new AllPassengersReport();

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

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