Example #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            PrintExam rpt = new PrintExam();

            rpt.Site = this.Site;
            return(rpt);
        }
Example #2
0
 private void btn_FindExam_Click(object sender, EventArgs e)
 {
     if (int.TryParse(txt_ExamNo.Text, out _))
     {
         PrintExam r = new PrintExam();
         r.SetParameterValue("@examNo", txt_ExamNo.Text);
         crystalReportViewer.ReportSource = r;
     }
 }