public ChiTietOrderDTO(DataRow row, string maOrder) { this.maCT = ""; this.sanPham = SanPhamDAO.Instance.GetSanPham((string)row["MaSp"]); this.order = OrderDAO.Instance.GetOrderFromDB(maOrder); this.soLuong = (int)row["SL"]; this.ghiChu = ""; }
public ChiTietOrderDTO(DataRow row) { this.maCT = (string)row["MaCT"]; this.sanPham = SanPhamDAO.Instance.GetSanPham((string)row["MaSp"]); this.order = OrderDAO.Instance.GetOrderFromDB((string)row["MaOrder"]); this.soLuong = (int)row["SoLuong"]; this.ghiChu = (string)row["GhiChu"]; }