quick connection string question

View: New views
1 Messages — Rating Filter:   Alert me  

quick connection string question

by likefood :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
_______________________________________________
mdbtools-dev mailing list
mdbtools-dev@...
https://lists.sourceforge.net/lists/listinfo/mdbtools-dev