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

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

            SportsDataSet1TableAdapters.bookingreceipt2TableAdapter tab
                = new SportsDataSet1TableAdapters.bookingreceipt2TableAdapter();

            tab.Fill(ds.bookingreceipt2, GetSetBookingId);
            BookingReceiptPrint cr = new BookingReceiptPrint();

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