Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a Stored Procedure with Output Parameter
Message
De
28/06/2010 00:35:08
 
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01470620
Message ID:
01470757
Vues:
29
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform