Exemplo n.º 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            cryXuatKho rpt = new cryXuatKho();

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

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