随笔分类 -  公共类

摘要:/// <summary> /// 获取枚举注释 /// </summary> /// <typeparam name="T">枚举类型</typeparam> /// <param name="e">枚举值</param> /// <returns></returns> public static 阅读全文
posted @ 2022-07-12 10:57 智者见智 阅读(43) 评论(0) 推荐(0) 编辑
摘要:原文地址:https://ken.io/note/csharp-md5 一、前言 MD5说明http://zh.wikipedia.org/wiki/MD5 .NET MD5类 官方文档&示例http://msdn.microsoft.com/zh-cn/library/system.securit 阅读全文
posted @ 2019-08-06 10:00 智者见智 阅读(3004) 评论(0) 推荐(0) 编辑
摘要:原文地址:https://ken.io/note/csharp-aesencrypt 阅读全文
posted @ 2019-08-06 09:58 智者见智 阅读(6208) 评论(0) 推荐(0) 编辑
摘要:原文地址:https://ken.io/note/csharp-asp.net-jsonhelper 阅读全文
posted @ 2019-08-06 09:56 智者见智 阅读(1017) 评论(0) 推荐(0) 编辑
摘要:// JavaScript Document $.extend($.fn.validatebox.defaults.rules, { Composite_validation: { validator: function (value, param) { var mReg = new RegExp(param[0]); //传递过来的... 阅读全文
posted @ 2019-06-28 17:46 智者见智 阅读(396) 评论(0) 推荐(0) 编辑
摘要:using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; namespace Xima.FreamWork.Common.Web ... 阅读全文
posted @ 2019-06-28 17:44 智者见智 阅读(232) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Xima.FreamWork.Common.Web { pu... 阅读全文
posted @ 2019-06-28 17:43 智者见智 阅读(204) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Web; namespace Xima.FreamWork.C... 阅读全文
posted @ 2019-06-28 17:42 智者见智 阅读(324) 评论(0) 推荐(0) 编辑
摘要://=============================================================================== // This file is based on the Microsoft Data Access Application Block for .NET // For more information please go to /... 阅读全文
posted @ 2019-06-27 14:18 智者见智 阅读(350) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections; using System.Collections.Specialized; using System.Data; using System.Data.SqlClient; using System.Configuration; using System.Data.Common; using System.Collec... 阅读全文
posted @ 2019-06-27 14:14 智者见智 阅读(3331) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Security.Cryptography; using System.Text; namespace DBUtility { /// /// DES加密/解密类。 /// public class DESEncrypt { public DESEncrypt() ... 阅读全文
posted @ 2019-06-27 14:12 智者见智 阅读(509) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Reflection; using System.Text; namespace Common { public class ModelHandler where T : new() ... 阅读全文
posted @ 2019-06-27 14:09 智者见智 阅读(381) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Configuration; namespace Common { //配置Config文件信息 public class Config { /// /// 数据库字符串 /// public static string SQLConnString ... 阅读全文
posted @ 2019-06-27 14:08 智者见智 阅读(453) 评论(0) 推荐(0) 编辑
摘要:方法1: using System.Text; using System.Security.Cryptography; public string Hash(string toHash) { MD5CryptoServiceProvider crypto = new MD5CryptoServiceProvider();... 阅读全文
posted @ 2019-06-27 11:45 智者见智 阅读(2681) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示