读写excel文件有3种方法:
1.采用OleDB读取EXCEL文件
2.引用的com组件:Microsoft.Office.Interop.Excel
利用第三方库读写excel的库,主要有:
1.NPOI(http://npoi.codeplex.com/)
2.MyXls(http://sourceforge.net/projects/myxls/)
3.Koogra(http://sourceforge.net/projects/koogra/)
4.ExcelLibrary(http://code.google.com/p/excellibrary/)
5.ExcelPackage(http://excelpackage.codeplex.com/)
6.EPPlus(http://epplus.codeplex.com/)
7.LinqToExcel(http://code.google.com/p/linqtoexcel/)
网友评论