且构网

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

将输入文件(.docx,.xlsx,.ppt,xls等.)转换为C#中的xml

更新时间:2023-01-18 15:31:49

它们都是Office格式,因此您需要使用Microsoft Office工具与Office进行互操作,以进行安装.读取数据,然后将其导出为XML.

Google有大量的Office互操作示例.
They are all office formats, so you''d need to use the Microsoft Tools for Office to interop with Office, which would need to be installed, to read the data and then export it to XML.

Google has tons of examples of Office interop.