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

            rpt.Site = this.Site;
            return(rpt);
        }
Exemple #2
0
        private void frmBaoCaoBHXH_Load(object sender, EventArgs e)
        {
            DataTable dt = new DataTable();

            dt = Conn.getDataTable("select * from tblBaoHiemXH");

            CrystalReportBHXH rp = new CrystalReportBHXH();

            rp.SetDataSource(dt);
            crystalReportViewer1.ReportSource = rp;
        }