简体   繁体   English

如何使用c#.net打开firebird .db表文件

[英]How to open a firebird .db table file using c#.Net

I have a Firebird .fdb file and can open it fine. 我有一个Firebird .fdb文件,可以很好地打开它。 But some tables are empty, and I can open the .db files of these tables using 3rd part programs. 但是有些表是空的,我可以使用第3部分程序打开这些表的.db文件。 This was not developed by me. 这不是我开发的。

Now I need to open a .db from a table from firebird using c#.net Some knows how to do that? 现在,我需要使用c#.net从firebird的表中打开.db,有些人知道该怎么做? I dont want to open the database, connect to it, etc, just open the .db file. 我不想打开数据库,连接到数据库等,只需打开.db文件。

If you can open those .db files using Borland Database Desktop, then they are Paradox tables and not Firebird ones. 如果您可以使用Borland Database Desktop打开这些.db文件,则它们是Paradox表而不是Firebird表。

So, in order to access that .db files from your C# app, you could use: 因此,为了从C#应用程序访问该.db文件,可以使用:

  • MS ODBC Paradox Driver MS ODBC Paradox驱动程序
  • MS Jet OLEDB MS Jet OLEDB

Keep in mind that you may have to install/configure BDE (Borland Database Engine), so the MS drivers would provide full support on Paradox tables. 请记住,您可能必须安装/配置BDE(Borland数据库引擎),因此MS驱动程序将在Paradox表上提供全面支持。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM