摘要:
推荐一个很好的开源项目,用于C#读写EXCEL的,在http://npoi.codeplex.com/中下载例子(读取EXCEL到TABLE): using NPOI.HSSF.UserModel;using NPOI.SS.UserModel; #region "得到数据的Datatable" DataTable Get_ExcelData(Stream fileContent) { HSSFWorkbook workbook = new HSSFWorkbook(fileContent); Sheet she... 阅读全文