修改试车内容
This commit is contained in:
@@ -205,6 +205,8 @@ namespace BLL
|
||||
for (int i = startIndex; i <= lastIndex; i++)
|
||||
{
|
||||
IRow row = sheet.GetRow(i);
|
||||
//移除空行
|
||||
if (row.Cells.Count(p => !string.IsNullOrWhiteSpace(p.ToString())) == 0) continue;
|
||||
DataRow drNew = dt.NewRow();
|
||||
if (row != null)
|
||||
{
|
||||
@@ -298,6 +300,8 @@ namespace BLL
|
||||
{
|
||||
IRow row = sheet.GetRow(i);
|
||||
DataRow dataRow = dt.NewRow();
|
||||
//移除空行
|
||||
if (row.Cells.Count(p => !string.IsNullOrWhiteSpace(p.ToString())) == 0) continue;
|
||||
|
||||
for (int j = row.FirstCellNum; j < cellCount; j++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user