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

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

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