Esempio n. 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            enrolledStudentsRep rpt = new enrolledStudentsRep();

            rpt.Site = this.Site;
            return(rpt);
        }
Esempio n. 2
0
        private void enrolledstudent_Load(object sender, EventArgs e)
        {
            enrolledStudentsRep rep = new enrolledStudentsRep();

            rep.SetDataSource(ds);
            rep.SetParameterValue("syParam", sy);
            rep.SetParameterValue("nameLogParam", UserLog.getFullName());
            crystalReportViewer1.ReportSource = rep;
        }