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
Answers (4)
0
There are three way
1) Self-hosting in any managed .NET application
2) Hosting in a Windows service
3) Hosting in different versions of IIS
for refernce
more details you will from this link