Debugging Parmeters when calling a stored procedure
All,
I built a parameter list when calling a stored procedure. However. the system errors as if the first parm is being overwritten. The syntax used is as follows:
c.Parameters.Add(new SqlParameter("@p_Curr_Year",SqlDbType.Int,4));
c.Parameters.Add(new SqlParameter("@p_HID",SqlDbType.Char,8));
I wish to pass an int followed by a comma and user string.
Thanks