c# 操作excel 替代方案
摘要:
一直使用excel com 接口进行excel 操作,最近一次因为权限折腾了个够呛,果断放弃,使用NPOIFileStream file = new FileStream(url, FileMode.Open, FileAccess.Read); HSSFWorkbook hssfworkbook = new HSSFWorkbook(file); HSSFSheet sheet1 = hssfworkbook.GetSheet("Sheet1") as HSSFSheet; sheet1.GetRow(1).Cells[5]... 阅读全文
posted @ 2013-08-02 17:36 gwazy 阅读(575) 评论(0) 推荐(0) 编辑