摘要:
public class DataToEnity<T> where T : new() { public static T DataRowToEntity(DataRow dr) { //1.获取类型 Type type = typeof(T); //2.创建实例 T temp = Activato 阅读全文
posted @ 2017-11-23 00:48
kiamer
阅读(128)
评论(0)
推荐(0)
摘要:
public class DrawingSecurityCode { /// /// 生成验证码,并返回 /// /// public string GetSecurityCode(int n) { string code = GenerateCheckCod... 阅读全文
posted @ 2017-11-23 00:16
kiamer
阅读(240)
评论(0)
推荐(0)
摘要:
public class MemcachedHelper { private static MemcachedClient mc = null; static MemcachedHelper() { //从配置文件中获取比较好 // string[] serverlist = { "127... 阅读全文
posted @ 2017-11-23 00:14
kiamer
阅读(99)
评论(0)
推荐(0)
浙公网安备 33010602011771号