去除引用common.props
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
using JNPF.DependencyInjection;
|
||||
using System.Data;
|
||||
using JNPF.DependencyInjection;
|
||||
using NPOI.HSSF.UserModel;
|
||||
using NPOI.SS.UserModel;
|
||||
using NPOI.XSSF.UserModel;
|
||||
using System.Data;
|
||||
|
||||
namespace JNPF.Common.Helper
|
||||
{
|
||||
@@ -10,7 +10,7 @@ namespace JNPF.Common.Helper
|
||||
/// Excel导入操作类
|
||||
/// 版 本:V3.2.0
|
||||
/// 版 权:拓通智联科技有限公司(http://www.tuotong-tech.com)
|
||||
/// 日 期:2017.03.12.
|
||||
/// 日 期:2017.03.12.
|
||||
/// </summary>
|
||||
[SuppressSniffer]
|
||||
public class ExcelImportHelper
|
||||
@@ -108,7 +108,7 @@ namespace JNPF.Common.Helper
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
dataRow[j] = cell.ToString()?.Trim();
|
||||
dataRow[j] = cell.ToString()?.Trim();
|
||||
//}
|
||||
}
|
||||
}
|
||||
@@ -134,7 +134,7 @@ namespace JNPF.Common.Helper
|
||||
sheet = null;
|
||||
}
|
||||
#region 清除最后的空行
|
||||
for (int i = table.Rows.Count-1; i >= 0; i--)
|
||||
for (int i = table.Rows.Count - 1; i >= 0; i--)
|
||||
{
|
||||
bool isnull = true;
|
||||
for (int j = 0; j < table.Columns.Count; j++)
|
||||
|
||||
Reference in New Issue
Block a user