Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IDbCommand and Parameters.AddWithValue()
Message
 
 
À
20/03/2012 10:53:40
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01538772
Message ID:
01538789
Vues:
69
>>What do you mean by Add taking one parameter? Which overload did you check? Of course, you can create a parameter object first and pass it to Add method, but Add has a lot of overloads with many parameters.
>
>In the case of IDbCommand.Parameters there is no other overload - it's an implementation of IList. ie. Add(object)....

Thanks, Viv. I guess Dmitry now needs to create an instance of OleDbParameter class (?) and pass it to the Add method.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform