Creating dbf file from dataset in VB.NET

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to create a dbf (foxpro) file from a dataset in VB.Net (Framework 1.1)
in VB.Net program. The dataset has data which needs to be copy to dbf. How to
do this?
 
Hi Ajit,

You can use standard DDL to create FoxPro tables, and use the FoxPro and
Visual FoxPro OLE DB data provider which is downloadable from
http://msdn.microsoft.com/vfoxpro/downloads/updates .

'-- Character, Integer, Numeric, Date, DateTime, Memo
strSQL = "Create Table MyTable (Field1 C(10), Field2 I, Field3 N(10, 2),
Field4 D, Field5 T, Field6 M)"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top