Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IDbCommand and Parameters.AddWithValue()
Message
 
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01538772
Message ID:
01538789
Views:
66
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform