quick connection string question
"Daniel" <[email protected]> Mon, 7 Apr 2008 15:39:13 -0600
| Newsgroups | gmane.comp.db.mdb-tools.devel |
|---|---|
| Message-ID | <003c01c898f7$d38c4af0$0300a8c0@bluelappy> |
Hi, all.
I found this list through Mono's ODBC info page
(http://www.mono-project.com/ODBC). I'm trying to make a C# program that
would use a simple no-frills mdb file in Linux (Fedora 8) using the
System.Data.Odbc namespace in Mono. Does anyone know what the connection
string is supposed to look like? In a win32 .Net Framework scenario, it
would be something like:
OdbcConnection myConnection = new OdbcConnection("Driver={Microsoft Access
Driver (*.mdb)};DBQ=" + dbfilename);
However, that doesn't work with Linux. I've downloaded and installed
unixODBC and the mdbtools packages (as the Mono info page instructs). I
just need to know what the the connection string is supposed to be.
This may sound like a noob question, but keep in mind that I've been
searching the interwebs for a few days, without results.
I'm not trying to connect to a server, it's just a stand-alone mdb file
sitting in the same folder as the program.
Thanks in advance!
- Daniel
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone