时间:2021-07-01 10:21:17 帮助过:22人阅读
ExcelDAL exc = new ExcelDAL();
DataTable dt = exc.ExcelToDS(path);
foreach (DataRow dr in dt.Rows)
{
modelM mm = new modelM();
mm.FileNamee = dr[0].ToString();
mm.FileType = dr[1].ToString();
mm.FileNum = dr[2].ToString();
mm.FileTime = dr[3].ToString();
}
获取Excel数据OleDb
标签:exce tostring 分享图片 led data enum bsp filename lda