• There is no need to separately instantiate SqlParameter, you can simply do this:

    sqlCommand.Parameters.Add("@myID", SqlDbType.Int).Value = 1001;