c# - what are the differences between OLEDB and ODBC? -
Currently, I can connect to local .mdb with Oleb connections. I can query, add, update and delete the database with the correct results.
How to connect to the ODBC database in relation to the use of ODB database in C #?
The probability of a connection will be different in the connection string (and possibly setting up an ODBC connection in the control panel ), But .NET classes for connections apply all IDBconnection / commands / transactions, so they are very similar. In C #, you have the Ondi connection and the ODBC connection, I believe - but again both the base interfaces are applicable.
A brief overview can be found here:
Most database vendors support ODBC because it is designed to be a kind of shared connection mechanism , But again most of the vendor likes the supply or any other (Oracle ADOnate provider, MySQL provider, etc.).
Either normal, or if its only a small application, suitable for the target database is most appropriate.
Comments
Post a Comment