Im trying to update one cell in my column,
in the debug mode, its going through the whole code, but it never get effected for some reason. and not getting any errors.

this is my code :

```
else//wrong try!
{
    int errors;

    string gameHistory = Request.QueryString[0];
    errors = int.Parse(gameHistory);

    string query = "UPDATE HistoryOfGames SET NumberOfErrors=@NumberOfErrors WHERE ID='"+gameHistory+"'";
    con = new SqlConnection("Data Source=MICROSOF-58B8A5\\SQL_SERVER_R2;Initial Catalog=Daniel;Integrated Security=True");
    con.Open();
    string query2 = "SELECT NumberOfErrors FROM HistoryOfGames WHERE ID='"+gameHistory+"'";

    SqlCommand command = new SqlCommand(query2, con);//checks how much errors was in the last time played.

    errors =(int)command.ExecuteScalar();

    command = new SqlCommand(query, con);

    command.Parameters.AddWithValue("@NumberOfErrors", errors);//set a new error.
    command.ExecuteNonQuery();

    con.Close();

}

```

thanks!