public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { CrystalReportDTNam rpt = new CrystalReportDTNam(); rpt.Site = this.Site; return(rpt); }
private void ReportDTNam_Load(object sender, EventArgs e) { CrystalReportDTNam rp = new CrystalReportDTNam(); rp.SetDataSource(ucNhanVien.ucThongKeBaoCao.dsTKBC.ds); rp.SetParameterValue("maKS", FormMain.NhanVien.maKS); crystalReportViewerDTNam.ReportSource = rp; }