且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用C#连接.csv文件

更新时间:2023-02-08 14:48:49

尝试以下lib: linqtoexcel [ ^ ].我正在使用它而不是ole,并且它简单又方便.
Try this lib: linqtoexcel[^]. I''m using it instead of ole, and it''s easy and convenient.


请确保运行桌面应用程序的计算机已安装了最新的MDAC组件.解决此问题.请参考以下文章以获取更多信息:

Microsoft数据访问组件(MDAC)安装

数据访问技术路线图

***避免使用Jet驱动程序进行更新的实现.
Please ensure that the computer where you''re running your Desktop application have latest MDAC components installed it to resolve this issue. Please refer the following articles for more information:

Microsoft Data Access Components (MDAC) Installation

Data Access Technologies Road Map

It is always better to avoid Jet driver for newer implementation.