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

            rpt.Site = this.Site;
            return(rpt);
        }
Esempio n. 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;
        }