Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBC sonnection string from .NET to VFP table
Message
De
22/09/2005 12:46:55
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
22/09/2005 12:16:58
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Database:
Visual FoxPro
Divers
Thread ID:
01052029
Message ID:
01052045
Vues:
10
>Hi,
>We have a third-party app written in .NET for which we need to supply the ODBC connection string to a VFP table. We have tried many connection strings and we have not been successful. Our table can be free or in a .DBC, whichever is best to get this thing working. Any examples? Suggestions?
>TIA,
>Mark

Why would they ever need ODBC connection string. There is VFPOLEDB that works much better and works with VFP9 too. ie:
string strCon = @"Provider=VFPOLEDB;
Data source=C:\Program Files\Microsoft Visual Studio\MSDN\2001OCT\1033\SAMPLES\VFP98\data\Testdata.dbc";
For free tables either you mgiht use an existing dbc as above or simply the path:
string strCon = @"Provider=VFPOLEDB;Data source=C:\My Path\";
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform