has probado
myCommand.Parameters.AddWithValue("@studynumber", studynumber);
en lugar de:
myCommand.Parameters.AddWithValue("@study", studynumber);
has probado
myCommand.Parameters.AddWithValue("@studynumber", studynumber);
en lugar de:
myCommand.Parameters.AddWithValue("@study", studynumber);