Exemplo n.º 1
0
 /// <summary>
 /// 插入行
 /// </summary>
 /// <param name="sheet">NPOI工作表</param>
 /// <param name="rowIndex">行索引</param>
 /// <returns>NPOI单元行</returns>
 public static NPOI.SS.UserModel.IRow InsertRow(this NPOI.SS.UserModel.ISheet sheet, int rowIndex) => sheet.InsertRows(rowIndex, 1).FirstOrDefault();