public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { HoaDonBanHang rpt = new HoaDonBanHang(); rpt.Site = this.Site; return(rpt); }
private void frmXuatHoaDonBanHang_Load(object sender, EventArgs e) { HoaDonBanHang report = new HoaDonBanHang(); report.SetDataSource(HoaDonBanHangBUS.XuatHoaDonBanHang(MaHD)); crvHoaDon.ReportSource = report; }