So, we\'ve got this set of code that, for some reason, keeps timing out. It\'s not the stored procedure that it\'s running, because that runs fine. Also, if we remove the para
have you tried
myCommand.Parameters.AddWithValue("@studynumber", studynumber);
instead of:
myCommand.Parameters.AddWithValue("@study", studynumber);