Click here to Skip to main content
15,912,400 members

Comments by Schafmann (Top 3 by date)

Schafmann 11-Apr-13 6:33am View    
The value type in the stored procedure is declared: @OTHER nvarchar(MAX) output;
In my c# code its: com.Parameters.AddWithValue("@OTHER", SqlDbType.NVarChar);

Isnt this right to match the value?
Schafmann 11-Apr-13 6:20am View    
thanks, but this aslo dont work. I have changed the type for the @Other
Parameter to "SqlDbType.Int" and it works. But any other type wont work (the
same error message like above)
Schafmann 11-Apr-13 5:43am View    
temp is declared as string