Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

9
  • 5
    Can someone confirm if this works when running in x64? I am pretty sure Jet only works if your app is compiled or running in 32-bit mode.
    – Lamar
    Commented Sep 30, 2008 at 1:45
  • 3
    I've just tested this connection and it failed on a Windows Server 2008 R2 x64 RC, seems like one have to install the 2007 Office System Driver: Data Connectivity Components [microsoft.com/downloads/… Commented Jun 16, 2009 at 7:31
  • 28
    Be very careful with this -- it's a big ugly cludge (for example, sometimes it guesses a column type and discards all the data that does not fit).
    – dbkk
    Commented Sep 29, 2009 at 9:02
  • 9
    One should be very careful if using this method. I've found it very flaky for data that isn't in a perfect format.
    – Kenny Mann
    Commented Jun 9, 2010 at 16:03
  • 11
    As a person who had to use OleDb in a big project, I say STAY AWAY FROM IT! It sometimes is not able to retrieve a cell value just because it couldn't understand the format. It doesn't have a delete operation. It works totally different and unpredictable even with a slightest provider change. I'd say go for a proven commercial solution.
    – platypus
    Commented Sep 13, 2014 at 18:32