public KhachHang(int manv) { MaKH = manv; if (MaKH == 0) { TenKH = DiaChi = SDT = ""; return; } DataTable dt = KhachHangControl.layDuLieu(manv); TenKH = dt.Rows[0]["TenKH"].ToString(); DiaChi = dt.Rows[0]["DiaChi"].ToString(); SDT = dt.Rows[0]["SDT"].ToString(); }