在 C# 中创建自定义 ODBC/OLE 驱动程序

K. *_*ber 5 c# oledb excel odbc driver

有谁知道如何最好在 C# 中创建 ODBC 或 OLE 驱动程序?

我想要做的是创建一个可以在 Excel 和 Access 中使用的自定义数据源。或者想出另一种方法来做到这一点?

预先感谢您的回复!

Eyl*_*ylM 1

C# 中有一个 OLE DB 驱动程序的简化版本。在下面的文章中,示例提供了对内存中数组的访问。

这是 C# 的一个很好的起点。

http://exceldevelopmentplatform.blogspot.com/2018/10/oledb-simple-provider-c-custom.html