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

            rpt.Site = this.Site;
            return(rpt);
        }
Example #2
0
        private void btnXemDiem_Click(object sender, EventArgs e)
        {
            xlDiem.MASV = txtMSSV.Text;
            crpDiem crp = new crpDiem();

            crp.SetDataSource(xlDiem.xemdiem());
            crystalReportViewer1.ReportSource = crp;
            crystalReportViewer1.Refresh();
        }