Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create VFP Table Using C#
Message
De
20/10/2010 14:28:19
 
 
À
20/10/2010 13:12:38
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 4.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01486353
Message ID:
01486364
Vues:
85
This message has been marked as the solution to the initial question of the thread.
>Is there a way to create a vfp free table using vfpoledb or by any other method in C#?

Something like:
OleDbConnection conn = new OleDbConnection();
 conn.ConnectionString = "Provider=VFPOLEDB.1; Data Source=C:\\FolderWhereYouWantIt;";
conn.Open();
OleDbCommand cmd = new OleDbCommand("Create Table MyTableName (Id I, Name C(50))", conn);
cmd.ExecuteNonQuery();
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform