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

            rpt.Site = this.Site;
            return(rpt);
        }
Esempio n. 2
0
        private void LoadReport(EL.Registrations.students studentEL)
        {
            var crvStudents = new crvStudents();

            crvStudents.Database.Tables["students_view"].SetDataSource(studentBL.List(studentEL));


            crv.ReportSource = null;
            crv.ReportSource = crvStudents;
            crv.Refresh();
        }