Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create VFP Table Using C#
Message
From
20/10/2010 14:28:19
 
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 4.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01486353
Message ID:
01486364
Views:
84
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();
Previous
Reply
Map
View

Click here to load this message in the networking platform