Re: DBASE file connection problem :(



Alenya,

The most important thing that you left out was the code that you are
using to access the file! Are you using the classes from the
System.Data.Odbc namespace? You mentioned an ODBC driver, and this is the
namespace that you would use to connect to data sources through ODBC
drivers.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx

"Aleyna[]" <xoopiter@xxxxxxxxx> wrote in message
news:OhDw9hidHHA.5056@xxxxxxxxxxxxxxxxxxxxxxx
Hi all,

I wanted to connect an old DBASE file (I don't know the exact version) but
I could not make it at all. I couldn't find a way to execute sql
statements on db file using c#. The interesting thing my old client can
connect to the database and fetch data properly.

I tried all possibilities that I found on the web containing using ODBC
driver and importing the data into an access file and using this file
instead of working on the original file but I couldn't achieve these too.

I also used the all connections strings that connectionstrings.com
suggests but this didn't work too.

My data folder consists of a DBF, FPT and CDX file (afaik this file comes
only with the newer versions of DBASE). This may be helpful for you.

Any help will be appreciated.
Thanks in advance.



.



Relevant Pages

  • Re: SSIS package Informix to SS 2005
    ... I am using Avaya Openlink driver 4.2 and after much trial and error I have ... picking data from ODBC and pushing it to SS 2005 Database through SSIS ... Multi-tier ODBC Driver forInformix. ...
    (microsoft.public.sqlserver.odbc)
  • Re: Problem with perl DBI ODBC driver (bug or misconfig ?) [String data right truncation]
    ... Therefore there is no problem at source or at ODBC level, ... but it is a bug in IBM iSeries driver. ... database in UTF-8. ... Denis had UTF-8 set and his data contained some ...
    (perl.dbi.users)
  • Microsoft ODBC for Oracle Driver problem
    ... I think I have a resource issue with this driver. ... we are having an issue where suddenly the ODBC ... customer on that hosted machine. ... Microsoft ODBC Driver for Oracle. ...
    (microsoft.public.data.odbc)
  • Re: Excel cant find FileMaker Pro Files
    ... Excel) as a front end to other databases via ODBC. ... product for using FMP as a data source, mainly because FileMaker Inc ... makes their own driver available for free. ... DSN parameter values, since the driver doesn't include a DSN setup ...
    (microsoft.public.mac.office.excel)
  • Re: ODBC - SQL Server image data problems with recent releases of ODBC
    ... there are two problems with build 824 with an upgraded ODBC ... The following code is a workaround for a problem in SQL Server ... The older SQL Server driver: ...
    (perl.dbi.users)