From: WD on
I have recently downloaded the trial of the DBISAM ODBC DLL.

I'm using the following code to connect to a DB:

string txtConStr = "DRIVER={DBISAM 4 ODBC Driver}";
txtConStr += "ConnectionType=Local;CatalogName=<filename>";
OdbcConnection objODBCCon = new OdbcConnection(txtConStr);

but to no avail. The part that is not working if the simple declaration of
'OdbcConnection'

I believe this to be in System.Data.Odbc, but when I go to include it in my
project, it doesn't seem to be able to see that the library is there to be
included..

If I go into the object browser I see two sets of the System.Data reference.
One standard one which has Data.Odbc (which the *.cs code can't seem to see
to reference) and the other is System.Data[Compact Framework]

Is it not possible to use Odbc in Compact Applications??


Thanks,


--
WD
From: Christopher Fairbairn on
Hi,

"WD" <WD(a)discussions.microsoft.com> wrote in message
news:EDEE3C78-4D2C-41EB-9E19-45512C632302(a)microsoft.com...
> Is it not possible to use Odbc in Compact Applications??

No ODBC is not a supported technology on the Windows CE operating system.
Hence the .NET Compact Framework does not provide the System.Data.Odbc
namespace and associated classes to provide an interface to it.

Hope this helps,
Christopher Fairbairn