public static Row getRow(int rowIndex, Sheet sheet) {Row row = sheet.getRow(rowIndex);if (row == null) {row = sheet.createRow(rowIndex);}return row;}

public static IRow GetRow(int rowIndex, ISheet sheet){IRow row = sheet.GetRow(rowIndex);if (row == null){row = sheet.CreateRow(rowIndex);}return row;}
