NPOI读取excel 空行

 if (sheet.GetRow(i) != null)

每行判断一下,避免出错。真是蛋疼。

原文地址:https://www.cnblogs.com/leavind/p/5754874.html