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

            rpt.Site = this.Site;
            return(rpt);
        }
        private void frm_CR_BaoCaoChiTietBanHang_Load(object sender, EventArgs e)
        {
            DataTable data             = thongKeBUS.BaoCaoChiTietBanHang(fromDate, toDate);
            cryBaoCaoChiTietBanHang bc = new cryBaoCaoChiTietBanHang();

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