摘要:
public class DataToEnity<T> where T : new() { public static T DataRowToEntity(DataRow dr) { //1.获取类型 Type type = typeof(T); //2.创建实例 T temp = Activato 阅读全文
摘要:
public class DrawingSecurityCode { /// /// 生成验证码,并返回 /// /// public string GetSecurityCode(int n) { string code = GenerateCheckCod... 阅读全文
摘要:
public class MemcachedHelper { private static MemcachedClient mc = null; static MemcachedHelper() { //从配置文件中获取比较好 // string[] serverlist = { "127... 阅读全文