且构网

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

要求提供编码的答案

更新时间:2023-11-26 15:15:28

是的,可以.

Google的阅读Excel VB.NET",您将获得大量结果.

通常的技巧包括通过RCW使用Excel的COM接口,转换为CSV,然后直接进行解析,通过ODBC/OleDB进行连接,甚至使用可以直接读取和解析Excel的第三方API.选择哪种取决于您的要求和方案.
Yeah, you can.

Google for "Reading Excel VB.NET" and you''ll get tons of results.

The usual tricks involve using Excel''s COM interface via RCW, converting to CSV and then parsing that directly, connecting via ODBC/OleDB, and even using 3rd party API that can directly read and parse Excel. What you choose will depend on your requirements and scenario.


简短的回答-是的.只需尝试一下,然后在实施过程中遇到您遇到的问题即可.
Short answer - yes. Just give it a try and come back with problems you face during implementation.