コード例 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            allPassengerDetailsByDate rpt = new allPassengerDetailsByDate();

            rpt.Site = this.Site;
            return(rpt);
        }
コード例 #2
0
        private void btnAllByDate_Click(object sender, EventArgs e)
        {
            allPassengerDetailsByDate rpt = new allPassengerDetailsByDate();

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