Questions tagged «openxml-sdk»

7
读取Excel文件(.xls / .xlsx)的最佳方法
我知道有多种读取Excel文件的方法: Iterop Oledb Open Xml SDK 兼容性不是问题,因为程序将在受控环境中执行。 我的要求: 将文件读为DataTable/ CUstom Entities(我不知道如何为对象创建动态属性/字段[列名在Excel文件中会有所不同]) 用于DataTable/Custom Entities使用其数据执行某些操作。 更新DataTable操作结果 写回excel file。 这会更简单。 另外,如果可能的话,请教我有关自定义实体的信息(将属性/字段动态添加到对象)
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.