一.导出Excel表格的两种方式,其中两种方式指的是导出XML数据类型的Excel(即保存的时候可以只需要修改扩展名为.xls)和真正的Excel这两种. using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Services; using System.Xml; using Ipms.Server.Business; using Ipms.Ser…
要想根据不同类型excel表格获取其数据,就要先判断其表格类型 poi-api种方法: getCellType public int getCellType() Return the cell type. Specified by: getCellType in interface CellReturns: the cell typeSee Also:Cell.CELL_TYPE_BLANK, Cell.CELL_TYPE_NUMERIC, Cell.CELL…