none
Cannot open MSAccess 2000 mdb file using ADODB in Visual Studio 2010 C#

    Question

  • Am I specifying something wrong with my code?

    Here is a code snippet:

               ADODB.Connection ssn_connection = new ADODB.Connection();
                string connection_string = "Provider=Microsoft.Jet.OLEDB.4.0; Jet OLEDB:Engine Type=5; Data Source=" + msaccess_filename + ";";
                ssn_connection.Open(connection_string);

    I'm using Windows Server 2008 R2 with Visual Studio 2010 Ultimate installed.

     

    Thanks.

    Monday, June 13, 2011 9:20 PM

Answers

All replies