摘要: using Amazon.S3; using Amazon.S3.Encryption; using Amazon.S3.Model; using Amazon.S3.Transfer; using System; using System.Collections.Generic; using Sy 阅读全文
posted @ 2022-10-24 16:33 highlightyys 阅读(38) 评论(0) 推荐(0) 编辑
摘要: public class MailHelper { static string MailFrom = ConfigurationManager.AppSettings["MailFrom"].ToString(); static string MailFromAccount = Configurat 阅读全文
posted @ 2022-10-24 16:29 highlightyys 阅读(204) 评论(0) 推荐(0) 编辑
摘要: XMLHelper xML = new XMLHelper(); var dic = xML.GetData("ActualInfoTypes", "TypeName"); string value = string.Empty; dic.TryGetValue(name, out value); 阅读全文
posted @ 2022-10-24 16:28 highlightyys 阅读(18) 评论(0) 推荐(0) 编辑
摘要: public static bool ExportE<T>(string output, string fileName, List<T> datalist, Dictionary<string, string> name) where T : class { try { if (datalist. 阅读全文
posted @ 2022-10-24 16:10 highlightyys 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 安装Microsoft.SharePointOnline.CSOM 1.根据sapno,更新状态 List<ListItem> listAll = new List<ListItem>(); using (ClientContext clientContext = new ClientContext 阅读全文
posted @ 2022-10-24 15:56 highlightyys 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 1.安装程序包log4net.dll 2.AssemblyInfo.cs文件添加 [assembly: log4net.Config.XmlConfigurator(Watch = true)] 3.App.config添加 <?xml version="1.0" encoding="utf-8" 阅读全文
posted @ 2022-10-24 15:49 highlightyys 阅读(21) 评论(0) 推荐(0) 编辑
摘要: using (var stream = System.IO.File.Open(textBox1.Text, FileMode.Open, FileAccess.Read)) { using (IExcelDataReader reader = ExcelReaderFactory.CreateRe 阅读全文
posted @ 2022-10-24 15:32 highlightyys 阅读(95) 评论(0) 推荐(0) 编辑