>>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