예제 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            cryBaoCaoHoaDonNhapHang rpt = new cryBaoCaoHoaDonNhapHang();

            rpt.Site = this.Site;
            return(rpt);
        }
예제 #2
0
        private void frm_CR_BaoCaoHoaDonNhapHang_Load_1(object sender, EventArgs e)
        {
            DataTable data             = thongKeBUS.BaoCaoHoaDonNhapHang(fromDate, toDate);
            cryBaoCaoHoaDonNhapHang bc = new cryBaoCaoHoaDonNhapHang();

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