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

            rpt.Site = this.Site;
            return(rpt);
        }
        private void crystalReportViewer1_Load(object sender, EventArgs e)
        {
            CrystalReport3 rep = new CrystalReport3();
            DataSet1       ds  = new DataSet1();

            DataSet1TableAdapters.VisitorViewTableAdapter vis = new DataSet1TableAdapters.VisitorViewTableAdapter();
            DataSet1.VisitorViewDataTable tab = vis.GetData();
            vis.Fill(ds.VisitorView);
            rep.SetDataSource(tab.DefaultView);
            crystalReportViewer1.ReportSource = rep;
            crystalReportViewer1.Refresh();
        }