I don't know which Eval method you are using, but you don't use it on a query string - you should be using the response from the database.
Since you have a SELECT query, which returns a single value, you could use the ExecuteScalar or ExecuteReader function to retrieve the user id, but ExecuteNonQuery will return the number of rows affected - which your code ignores anyway. If you only want the ID, then change:
cmd.ExecuteNonQuery();
Response.Redirect("LocalHRviewdetails.aspx?ID="+ Eval(query));
To:
int userId = cmd.ExecuteScalar();
Response.Redirect("LocalHRviewdetails.aspx?ID="+ userId.ToString());
BTW: Never store passwords in clear text - it is a major security risk. There is some information on how to do it here:
Password Storage: How to do it.[
^]