INSERT Query with Parameter List

  • Thread starter Thread starter KenYeung
  • Start date Start date
K

KenYeung

Guest
I am using ADO.Net to do an action (Insert) query on MS Access. I set up an parameter collection through the OleDBCommand object and try to map the parameter objects in the collection to the names specified in the CommandText in the OleDBCommand object. However, I found that the mapping was not successful. Access instead took the order of the statements of which the parameter objects were added to the parameter collection.

Can anyone confirm that Access does not support parameter collection mapping in ADO.Net (OleDbCommand)?

Thanks.
 

Users who are viewing this thread

Back
Top Bottom