using excel=DocumentFormat.OpenXml.Spreadsheet;
using office=DocumentFormat.OpenXml.Office2010;
using pack=DocumentFormat.OpenXml.Packaging;
using oxml=DocumentFormat.OpenXml; pack.SpreadsheetDocument tmDoc = pack.SpreadsheetDocument.Open(exclFile, false);
为什么下面这条语句提示SharedStringTablePart序列为空,但SharedStringTable肯定存在的 pack.SharedStringTablePart tmTbPartStation = tmDoc.GetPartsOfType<pack.SharedStringTablePart>().First()
openxmlexceloffice
using office=DocumentFormat.OpenXml.Office2010;
using pack=DocumentFormat.OpenXml.Packaging;
using oxml=DocumentFormat.OpenXml; pack.SpreadsheetDocument tmDoc = pack.SpreadsheetDocument.Open(exclFile, false);
为什么下面这条语句提示SharedStringTablePart序列为空,但SharedStringTable肯定存在的 pack.SharedStringTablePart tmTbPartStation = tmDoc.GetPartsOfType<pack.SharedStringTablePart>().First()
openxmlexceloffice
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货