如何用C#创建dbf表文件
代码:
string str_oleConn = @"provider=VFPOLEDB.1;Data Source=D:\test;Source Type=dbf;user id=admin;password=;";
System.Data.OleDb.OleDbConnection ole_conn = new System.Data.OleDb.OleDbConnection(str_oleConn);
try{
ole_conn.Open();
代码:
string str_oleConn = @"provider=VFPOLEDB.1;Data Source=D:\test;Source Type=dbf;user id=admin;password=;";
System.Data.OleDb.OleDbConnection ole_conn = new System.Data.OleDb.OleDbConnection(str_oleConn);
try{
ole_conn.Open();