我用于决定任务参数扩展属性以创建OleDbConnection:
OleDbConnection con = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\;Extended Properties=dBase IV;");
con.Open();
OleDbCommand cmd = new OleDbCommand();
cmd.Connection = con;
cmd.CommandText = "create table test ([id] int,[name] varchar(100))";
cmd.ExecuteNonQuery();
//... some code
con.Close();
但是我得到了带有dBase III结构的dbf文件。如何解决?