You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Importer import = new Importer();
var ext = Path.GetExtension(file1);
if (ext.Equals(".xlsx", StringComparison.OrdinalIgnoreCase))
{
import.LoadXlsx(File.ReadAllBytes(file1));
}
else
{
import.LoadXls(File.ReadAllBytes(file1));
}
var importOption = new ImportOption<Service1Dto1>(0, 0);
var result = import.Process<Service1Dto1>(importOption).ToList();
Console.Write($"read rows:{result.Count}");
无法完整读取Excel数据
The text was updated successfully, but these errors were encountered:
无法完整读取Excel数据
The text was updated successfully, but these errors were encountered: