public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { reportSched rpt = new reportSched(); rpt.Site = this.Site; return(rpt); }
private void StudentSchedRep_Load(object sender, EventArgs e) { reportSched cos = new reportSched(); cos.SetDataSource(ds); cos.SetParameterValue("SectName", sectionName); cos.SetParameterValue("GradeLevel", gradeLevel); cos.SetParameterValue("nameLogParam", UserLog.getFullName()); crystalReportViewer1.ReportSource = cos; }