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

            rpt.Site = this.Site;
            return(rpt);
        }
Esempio n. 2
0
        private void frm_CR_BaoCaoChiTietNhapHang_Load(object sender, EventArgs e)
        {
            DataTable data = thongKeBUS.BaoCaoChiTietNhapHang(fromDate, toDate);
            cryBaoCaoChiTietNhapHang bc = new cryBaoCaoChiTietNhapHang();

            bc.SetDataSource(data);
            cryBaoCao.ReportSource = bc;
        }