关于我们

质量为本、客户为根、勇于拼搏、务实创新

< 返回新闻公共列表

应用NPOI将Excel表导到数据库查询中

发布时间:2020-03-12 00:00:00

       fileName=   (FileStream fs =      HSSFWorkbook book =  ISheet sheet = book.GetSheetAt(   Student model =    ( i=sheet.FirstRowNum+;i<sheet.LastRowNum;i++    model.StudentName = Convert.ToString(GetCellValue(row.GetCell(     model.Sex = Convert.ToString(GetCellValue(row.GetCell( model.Birthday = Convert.ToDateTime(GetCellValue(row.GetCell(        }

 

 

 


/template/Home/Zkeys/PC/Static