随笔分类 - 公共类
摘要:/// <summary> /// 获取枚举注释 /// </summary> /// <typeparam name="T">枚举类型</typeparam> /// <param name="e">枚举值</param> /// <returns></returns> public static
阅读全文
摘要:原文地址:https://ken.io/note/csharp-md5 一、前言 MD5说明http://zh.wikipedia.org/wiki/MD5 .NET MD5类 官方文档&示例http://msdn.microsoft.com/zh-cn/library/system.securit
阅读全文
摘要:原文地址:https://ken.io/note/csharp-aesencrypt
阅读全文
摘要:原文地址:https://ken.io/note/csharp-asp.net-jsonhelper
阅读全文
摘要:// JavaScript Document $.extend($.fn.validatebox.defaults.rules, { Composite_validation: { validator: function (value, param) { var mReg = new RegExp(param[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 ...
阅读全文
摘要: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...
阅读全文
摘要: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...
阅读全文
摘要://=============================================================================== // This file is based on the Microsoft Data Access Application Block for .NET // For more information please go to /...
阅读全文
摘要: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...
阅读全文
摘要:using System; using System.Security.Cryptography; using System.Text; namespace DBUtility { /// /// DES加密/解密类。 /// public class DESEncrypt { public DESEncrypt() ...
阅读全文
摘要: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() ...
阅读全文
摘要:using System; using System.Configuration; namespace Common { //配置Config文件信息 public class Config { /// /// 数据库字符串 /// public static string SQLConnString ...
阅读全文
摘要:方法1: using System.Text; using System.Security.Cryptography; public string Hash(string toHash) { MD5CryptoServiceProvider crypto = new MD5CryptoServiceProvider();...
阅读全文