コード例 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            reportSched rpt = new reportSched();

            rpt.Site = this.Site;
            return(rpt);
        }
コード例 #2
0
        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;
        }