清风小子

 

2011年12月30日

求解:NPOI 如何读excel2007

摘要: 刚刚接触Npoi,资料介绍中可以读写excel2007。我这在线审批excel系统主要就是操作excel,传统的那种com方式操作总是在后台服务器进程有许多未及时关闭的excel进程。这种方式打开打开*.xlsx格式就报错 using (FileStream file = new FileStream(path, FileMode.Open, FileAccess.Read)) { hssfworkbook = new HSSFWorkbook(file); }报错 The supplied data appears to be in the Office 2007+ XML. POI onl 阅读全文

posted @ 2011-12-30 10:00 清风小子888 阅读(1955) 评论(2) 推荐(0) 编辑

导航