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

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
 private void showDepartmentReport_Load(object sender, EventArgs e)
 {
     cr = new DepartmentReport();
     cr.SetDatabaseLogon("scott", "tiger");
     crystalReportViewer2.ReportSource = cr;
 }