C#读取dbf文件网上有很多例子,大致代码都如下: private void btnCreate_Click(object sender, EventArgs e) { try { // dbf所在目录看成一个数据库, dbf文件看成一个表 string strDirectory = Path.GetDirectoryName(m_Path); string strConn = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + strDirectory + ";Extended Properties=dBASE IV;"; OleDbConnection oleConn = new OleDbConnection(strConn); oleConn.Open(); // 复制一个新的dbf文件 string strFileName = Path.GetFileName(m_Path); string strNewFileName = "newBL.dbf"; string strPath = strDirectory + "//" + strNewFileName; if (File.Exists(strPath)) { File.Delete(strPath); }