How to read/write dBase III files using C#/.NET ODBC or OLE?

后端 未结 5 813
鱼传尺愫
鱼传尺愫 2020-12-16 04:03

I have searched for various techniques on how to read/write dBase III (dbf) files using OLEDB or ODBC with C#/.NET. I have tried almost all of the tecniques posted, but wit

5条回答
  •  被撕碎了的回忆
    2020-12-16 04:37

    Something like ... ?

     ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
    "Data Source=e:\My Documents\dBase;Extended Properties=dBase III"
    Dim dBaseConnection As New System.Data.OleDb.OleDbConnection(ConnectionString )
    dBaseConnection.Open()
    

    From: http://bytes.com/forum/thread112085.html

提交回复
热议问题