开发者

dbf file operations in C# .net

开发者 https://www.devze.com 2023-02-23 05:06 出处:网络
I need to create a dbf file which has the table structure of an existing dbf and insert data to it. Also I need to specify the NAME for it which i usually do in excel by insert->Name.

I need to create a dbf file which has the table structure of an existing dbf and insert data to it. Also I need to specify the NAME for it which i usually do in excel by insert->Name. Which is the best and easy way for it. I have tried using OLEDB already. But I need sugge开发者_如何学JAVAstions for the best option.


Have you tried:

System.IO.File.Copy(sourceFileName, destFileName);

Followed by opening the new file and truncating the data leaving the table structure?

0

精彩评论

暂无评论...
验证码 换一张
取 消