public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CRBookingReport rpt = new CRBookingReport();

            rpt.Site = this.Site;
            return(rpt);
        }
        private void BookingReportForm_Load(object sender, EventArgs e)
        {
            DSBookingReport ds = new DSBookingReport();

            DSBookingReportTableAdapters.bookingdetailsTableAdapter ta = new DSBookingReportTableAdapters.bookingdetailsTableAdapter();

            ta.Fill(ds.bookingdetails);

            CRBookingReport crpt = new CRBookingReport();

            crpt.SetDataSource(ds);
            crystalReportViewer1.ReportSource = crpt;
        }