06 2017 档案
摘要:/// /// 导出至PDF /// /// 数据源 /// 文件名 /// 字段表头名对照 public static void Export(DataTable dt, string fileName, Dictionary dicTableHeader) { ...
阅读全文
摘要:/// /// NPOI导出帮助类 /// public class NPOIHelper { /// /// DataTable导出到Excel的MemoryStream /// /// 源DataTable /// 表头文本 private static M...
阅读全文
摘要:/// /// 32位MD5加密 /// /// /// public static string Md5Hash(string input) { MD5CryptoServiceProvider md5 = new MD5CryptoServiceProvider()...
阅读全文
摘要:/// /// 百度翻译 /// public class BaiDuTransHelp { /// /// 密钥 /// private readonly static string TransKey = ConfigurationManager.AppSettings["TransKey"...
阅读全文
摘要:public class EmailHelp { /// /// Smtp服务器地址 /// private static readonly string SmtpServer = ConfigurationManager.AppSettings["SmtpServer"]; /// ...
阅读全文