public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            BaoCaoDiem rpt = new BaoCaoDiem();

            rpt.Site = this.Site;
            return(rpt);
        }
Esempio n. 2
0
        private void frmReportDiemThi_Load(object sender, EventArgs e)
        {
            DataTable dt = new DataTable();

            dt = ketnoi.loadDuLieu("Select * from PhieuBaoDiem");
            BaoCaoDiem bc = new BaoCaoDiem();

            bc.SetDataSource(dt);
            crs_BaoCaoDiem.ReportSource = bc;
        }