上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: 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 阅读(160) 评论(0) 推荐(0)
摘要: public class MailHelper { static string MailFrom = ConfigurationManager.AppSettings["MailFrom"].ToString(); static string MailFromAccount = Configurat 阅读全文
posted @ 2022-10-24 16:29 highlightyys 阅读(258) 评论(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 阅读(54) 评论(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 阅读(68) 评论(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 阅读(186) 评论(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 阅读(50) 评论(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 阅读(151) 评论(0) 推荐(0)
摘要: 1.引入log4net.dll 2.创建log4net.config <?xml version="1.0" encoding="utf-8" ?> <configuration> <!--Log4Net--> <!-- Level的级别,由高到低 --> <!-- None > Fatal > E 阅读全文
posted @ 2022-05-30 17:26 highlightyys 阅读(70) 评论(0) 推荐(0)
摘要: public static object CloneObject(object o) { Type t = o.GetType(); PropertyInfo[] properties = t.GetProperties(); Object p = t.InvokeMember("", System 阅读全文
posted @ 2022-05-30 17:20 highlightyys 阅读(40) 评论(0) 推荐(0)
摘要: public static int GetMaxCode(Takeda_Regional_CN_TEEntities entities) { int maxCode = (int)entities.Takeda_VR_Division.ToList().Max(e => Convert.ToInt6 阅读全文
posted @ 2022-05-30 17:18 highlightyys 阅读(20) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 10 下一页