摘要:
public void ExportExcel(DataTable dt) { //要添加epplus的nuget包 ExcelPackage.LicenseContext = LicenseContext.NonCommercial;//epplus的5.0版本以上的要加这行非商用声明 //新建一 阅读全文
posted @ 2021-03-09 17:29
月长生
阅读(127)
评论(0)
推荐(0)
摘要:
class XmlHelp { #region 调用 /// <summary> /// xml添加 /// </summary> /// <param name="filename"></param> /// <param name="people"></param> public void Xm 阅读全文
posted @ 2021-03-09 09:27
月长生
阅读(58)
评论(0)
推荐(0)
摘要:
public void SaveCSV(DataTable dt, string fullPath) { FileInfo fi = new FileInfo(fullPath); if (!fi.Directory.Exists) { fi.Directory.Create(); } FileSt 阅读全文
posted @ 2021-03-09 09:12
月长生
阅读(262)
评论(0)
推荐(0)