Epplus导入Excle问题,求指教
EPPIUS 导入Excle,如果有10条数据,在Excle中对其中的5条清空表格内容,我的程序依然能得到已经清空数据的表格,仍然得到10条,如果是删除的话就没这种问题,以下是代码
if (tmp == null || !tmp.Open())
return new ReturnResult<bool>(false, "打开文件错误");
tmp.CurrentSheetIndex = 0;
int columnNumber = tmp.GetColumnCount();
//获取行数
int rowNumber = tmp.GetRowCount();
tmp.GetCellCountInRow(0);
请问:是我 代码的问题还事有别的方法可以解决下,求帮忙·谢谢