private void crystalReportViewer2_Load(object sender, EventArgs e)
        {
            SportsFacilityBookingDataSet ds = new SportsFacilityBookingDataSet();
            SportsFacilityBookingDataSetTableAdapters.BookingTableAdapter ta = new SportsFacilityBookingDataSetTableAdapters.BookingTableAdapter();
            TrendReport TrendReportCrp = new TrendReport();
            ta.Fill(ds.Booking);

            TrendReportCrp.SetDataSource(ds);
            crystalReportViewer2.ReportSource = TrendReportCrp;
        }
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     TrendReport rpt = new TrendReport();
     rpt.Site = this.Site;
     return rpt;
 }