public static bool KiemTraKH(string MaKH) { try { KhachHang dao = new KhachHang(); DataTable table = dao.GetKH(MaKH); if (table.Rows.Count > 0) { return(true); } } catch (Exception ex) { throw ex; } return(false); }
public static bool KiemTraKH(string MaKH) { try { KhachHang dao = new KhachHang(); DataTable table = dao.GetKH(MaKH); if (table.Rows.Count > 0) { return(true); } } catch (Exception ex) { throw ex; } return(false); }