Пример #1
0
        private void frmXuatPhieuGiaoHang_Load(object sender, EventArgs e)
        {
            PhieuGiaoHang report = new PhieuGiaoHang();

            report.SetDataSource(PhieuGiaoHangBUS.XuatPhieuGiaoHang(MaPG));
            crvPhieuGiaoHang.ReportSource = report;
        }
Пример #2
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            PhieuGiaoHang rpt = new PhieuGiaoHang();

            rpt.Site = this.Site;
            return(rpt);
        }