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

            rpt.Site = this.Site;
            return(rpt);
        }
        private void ListOfBooksForm_Load(object sender, EventArgs e)
        {
            Team10bDS context = new Team10bDS();

            Team10bDSTableAdapters.BooksTableAdapter ta = new Team10bDSTableAdapters.BooksTableAdapter();
            ta.Fill(context.Books);
            ListOfBooks cr = new ListOfBooks();

            cr.SetDataSource(context);
            ListOfBookCRViewer.ReportSource = cr;
        }