且构网

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

如何将数据从Excel复制到文本文件

更新时间:2023-01-30 20:13:23

要使用Excel文件,您可以使用Office Interop程序集或Open XML SDK。

请参阅我以前的答案:如何从MS Visual Studio 2010中的添加引用添加microsoft excel 15.0对象库 [ ^ ]。



另见这一个:使用Open XML创建基本的Excel工作簿 [ ^ ] 。



-SA
To work with Excel files, you can use either Office Interop assemblies or Open XML SDK.
Please see my past answer: How to add microsoft excel 15.0 object library from Add Reference in MS Visual Studio 2010[^].

See also this one: Creating basic Excel workbook with Open XML[^].

—SA