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

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

            DataSetTableAdapters.BorrowReceiptTableAdapter bra = new DataSetTableAdapters.BorrowReceiptTableAdapter();
            bra.Fill(ds.BorrowReceipt);
            popularBook pb = new popularBook();

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