Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a Stored Procedure with Output Parameter
Message
From
28/06/2010 00:35:08
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01470620
Message ID:
01470757
Views:
28
>For the Output parameters you need to provide all details (type and length). This is only possible with Add method, not a quickie AddWithValue.

However, there's absolutely nothing wrong with specifying ParameterDirection.InputOutput, and when done that way, the .AddWithValue() method works just fine ... as long as the value you provide is of the proper length.

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform