Exemplo n.º 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalReportDTNam rpt = new CrystalReportDTNam();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemplo n.º 2
0
        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;
        }