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

            rpt.Site = this.Site;
            return(rpt);
        }
 private void ListGroups_Load(object sender, EventArgs e)
 {
     using (ModelTD db = new ModelTD())
     {
         CrystalReportListGroup crystalReportListGroup = new CrystalReportListGroup();
         crystalReportListGroup.SetDataSource(db.Groups);
         crystalReportViewer1.ReportSource = crystalReportListGroup;
     }
 }