62,046
社区成员
发帖
与我相关
我的任务
分享
public static string GetCellValue(this NPOI.SS.UserModel.IRow row, int cellnum)
{
var cell = row.GetCell(cellnum);
return cell.GetCellValue();
}
public static string GetCellValue(this NPOI.SS.UserModel.ICell cell)
{
if (cell != null)
return cell.ToString();
else
return null;
}