using NPOI.SS.UserModel; namespace TeacherExt.Controllers { public static class NPOIExt { public static ICell SetType(this ICell cell, CellType type) { cell.SetCellType(type); return cell; } public static ICell SetStyle(this ICell cell, ICellStyle style) { cell.CellStyle = style; return cell; } public static IRow Order(this IRow row,int order) { return row; } } }