hai provato
myCommand.Parameters.AddWithValue("@studynumber", studynumber);
invece di:
myCommand.Parameters.AddWithValue("@study", studynumber);
hai provato
myCommand.Parameters.AddWithValue("@studynumber", studynumber);
invece di:
myCommand.Parameters.AddWithValue("@study", studynumber);