c# - Slow execution of queries on a Microsoft Access database via ADO .Net -


i reimplementing c++ layer c# layer @ company.
sql queries executed in layer on microsoft access database via odbc datasource.
database .mdb file , odbc datasource uses following driver : microsoft access driver (*.mdb).

the c++ layer uses windows odbc api execute sql queries via odbc datasource.
instance sqlexecdirect function called execute sql query.

the c# layer uses ado .net odbcconnection class execute sql queries via odbc datasource.

the execution of several sql queries takes less 1 minute when using c++ layer.
execution of same sql queries takes approximatively 20 minutes when using c# layer.
know why execution slower when using c# layer ?

any appreciated

i have found why execution of queries slow when using c# layer.
forgot dispose idbcommand objects.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -