var input = document.getElementById("file"); //支持chrome IE10 if (window.FileReader) { var file = input.files[0]; var reader = new FileReader(); reader.onload = function(e) { var sheet_id=0; //读取第…
1.整个Excel表格叫做工作表:WorkBook(工作薄),包含的叫页(工作表):Sheet:行:Row:单元格Cell. 2.NPOI是POI的C#版本,NPOI的行和列的index都是从0开始 3.POI读取Excel有两种格式一个是HSSF,另一个是XSSF. HSSF和XSSF的区别如下: HSSF is the POI Project's pure Java implementation of the Excel '97(-2007) file format. XSSF is the…