Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

c# read access database without oledb

SubZero answered on March 5, 2023 Popularity 2/10 Helpfulness 8/10

Contents


More Related Answers

  • c# access database
  • c# open access database mdb
  • r dbConnect(odbc::odbc() to ms sql server remote
  • how to display data from database in c#

  • c# read access database without oledb

    1

    To read an Access database without using OleDb, you can use the Microsoft Access Database Engine (ACE) driver. Here's an example of how to do it:

    1- First, make sure you have the ACE driver installed on your system. You can download it from the Microsoft website.

    2- Add a reference to the Microsoft.Office.Interop.Access.Dao assembly.

    Use the following code to read data from an Access database: 

    This will return a list of strings containing the data from the specified field in the specified table. 

    Popularity 2/10 Helpfulness 8/10 Language csharp
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Mar 05 2023
    SubZero
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.