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

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

            SA47_Team12bDataSetTableAdapters.BooksTableAdapter booksTableAdapter = new SA47_Team12bDataSetTableAdapters.BooksTableAdapter();
            booksTableAdapter.Fill(ds.Books);

            CRAvailableStocks crAvailableStocks = new CRAvailableStocks();

            crAvailableStocks.SetDataSource(ds);
            crystalReportViewerAS.ReportSource = crAvailableStocks;
        }