public string getMaKHLast() { string sql = "select top 1 * from KhachHang order by MaKH DESC"; return(ConnectionDB.GetIDLast(sql)); }
public string getMaNCCLast() { string sql = "select top 1 * from NCC order by MaNCC DESC"; return(ConnectionDB.GetIDLast(sql)); }
public string getLastMaKV() { string sql = "select top 1 * from KHUVUC order by MaKV DESC"; return(ConnectionDB.GetIDLast(sql)); }