Information générale
Catégorie:
Visual FoxPro et .NET
try changing your connection string to this format:
this.oConn = new OleDbConnection("Provider=vfpoledb.1;" +
@"Data Source=D:\Programs\vfp70\Samples\Data\testdata.dbc;" +
"Exclusive=false;Nulls=false");
>guys,
>
>we are experimenting with ASP.NET and VB.NET and are having a tough time trying to connect to a VFP 8.0 database. we have no problems connecting to a SQL database.
>
>first we tried a standard ODBC connection and then we tried the following OLEDB connection string and we keep on getting error message "892".
>
>"Provider=VFPOLEDB.1;Data Source=C:\Inetpub\dbfiles\cs21\;"
>"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Inetpub\dbfiles\unique\; Extended Properties=dBase 5.0"
>Provider=ODBC;DSN=1-800-predict-cs21;database=cs21;Exclusive=No"
>
>can anyone provide any insight that will help me get started with using Foxpro databases with DotNet?
>
>thanks,
>
>vim
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement