Untill now I have never specified the parameters size when calling a procedure with parameters. But suddenly one day i got an error:
String[2]: the Size property has an invalid size of 0.
I have never seen that before, and it only accured in an output param. So my question is when do I need to size a param, because it works fine as an input..
And, About Output and Output/Input. I have a parameter set as:
@HtmlImageType VARCHAR(30) OUTPUT
But when I look at the table parameters It is classified as Input/Output, and in my C# code it only works with Output.