C# 利用ExcelDataReader 读取excel文件
1.在NuGet中输入excel搜索,点击安装这两个如图
2.新建一个类
class ExcelReader
{
public List<Dictionary<string, Object>> getData(string filePath)
{
List<Dictionary<string, object>> list = new List<Dictionary<
原创
2021-01-29 21:36:22 ·
2157 阅读 ·
2 评论