ODBC.DBF files in C #

I have a lot of problems using .dbf files. I have an application written in C # that reads from .DBF files and then exports them to another database. I tried using the Microsoft dBase driver, but it did not read all the .DBF files that I need, which means that I can extract data from only two of the .DBF files, Visual Studio tells me the other .DBF files do not exist, and it continues say my input line is too long. There are some Microsoft Visual Fox Pro drivers, but every time I select one of them, Visual Studio tells me that it cannot establish a connection. The worst part is that this application will be used on client machines that I do not have access to. How to save an ODBC data source so that my application runs on other people's computer? I am very unfamiliar with .DBFs, I don’t know which driver works best, and I need someone to walk me through the steps.

0
source share
1 answer

Are these DBF files created by Foxpro possibly? If they were created by a version of Foxpro over 7 gt, the ODBC driver will not read them. In this case, use the OLE-DB driver instead, which can work with your files regardless of their source, it is worth trying to use OLE-DB that goes beyond the ODBC data source fiasco.

Edit: remove spam link

+2
source

All Articles