简体   繁体   中英

Windows embedded CE 6.0 and Odbc

I am writing an application to run on a windows embedded ce 6.0. the application needs to have access to a sql database and insert records into it. My boss said i have to use Odbc commands, but so far i haven't seen proof that windows embedded ce 6.0 supports Odbc at all. Can someone confirm that for me please before I go to my boss and humiliate myself in case I am wrong :p? and In case i cannot use Odbc: is there any alternative?

Thank you for your help.

Windows CE 6.0 does not support ODBC:

http://social.msdn.microsoft.com/Forums/en/sqlce/thread/ed42734d-1594-4fe0-90ca-9e55771421af

No, there's no such API. ODBC is not supported on CE and OLEDB driver is not available.

... or ...

http://docs.oracle.com/html/B10100_01/wnovw.htm

Windows CE does not support the ODBC driver manager.

However, one good alternative is the CE variant of standard (VB6 era) ADO, ADOCE:

http://msdn.microsoft.com/en-us/library/ms834317.aspx

The Compact Framework has no support for ODBC. What type of database do you need to connect with? Many ( SQL Server , Oracle , MySQL , SQLite , etc) have ADO.NET Providers

Here's an example for using the SQL Server provider .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM