Also, Microsoft has provide a Enterprise Library Data Access Application Block that implement common data access functionality. Check this page on MSDN
Hope thie helps.
Regards
Rong-Chun Zhang Monday, August 13, 2007 10:09 AM
Hi seco,
I am not quite following what you want. To add parameters to a command, we can useDbCommand.Parameters.AddRange method.
Hope this helps.
Regards
Rong-Chun Zhang Thursday, August 09, 2007 6:42 AM
thanks for reply i can't instantiate an instance of DbparameterCollection !!!
i want to send all of the parameters as a parameter to my sub like
Private Sub mysub(myparameter as DbParameterCollection) 'add my parameters to the command end sub
Also, Microsoft has provide a Enterprise Library Data Access Application Block that implement common data access functionality. Check this page on MSDN