Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set up data connection for VFP from C#
Message
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01082681
Message ID:
01082691
Vues:
10
Cecil,
What you need is the VFP OleDB provider. This URL gives some additional information and I think there is some code towards the bottom of the page.
http://fox.wikis.com/wc.dll?Wiki~VFPOleDBProvider~VFP

Einar

>I am trying to set up a data connection to a VFP Database (DBC) from within C# 2005 Express. I do not know how to do this; the only two options are ACCESS or SQL Server.
>
>After creating a NEW C# WIndows Application project, I went to the Data menu item, selected ADD NEW DATASOURCE; the default selection was the DATA SOURCE TYPE was "Database" in the Data Connection wizard. I clicked on the New Connection button; a Dialog form appeared in which I should be able to select the Database File Name. Above that is the type of database in which there are only two options: (1) Microsoft Access Database File, (2) Microsoft SQL Server Database File. Visual FoxPro is not an option here, so I would never be able to select a VFP database file (DBC).
>
>How do you get past the obviously "BIASED" ACCESS and SQL SERVER options to be able to select Visual FoxPro as a Database File Type?
Semper ubi sub ubi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform