views:

247

answers:

3

Is there any way that I can connect to a server DB (Oracle, MS SQL, Sybase, ...) from a Windows Mobile application (written in C# using VS 2008). Is there support for say ODBC or another technologie? I'm connecting to a LAN via WLAN or via UMTS.

There is no possibility for me to install an additional server component.

+1  A: 
abatishchev
+2  A: 

Sure System.Data.SqlClient for SQL Server works just fine. For Oracle there's OraDirect.

ctacke
+1  A: 

No, the only direct connectivity option in CE is System.Data.SqlClient, which only works for SQL Server.

I've only done it using a purpose-built socket server - which has the benefit of enabling you to turn it into a useful abstraction layer, but is a medium-sized bit of work. Portable to any tcpip networkable client device, however. You can also then make it asynchronous which is almost required in a mobile environment.

le dorfier