01 2016 档案

Linq的Distinct太不给力了[转]
摘要:假设我们有一个类:Productpublic class Product{ public string Id { get; set; } public string Name { get; set; }}Main函数如下:static void Main(){ List produ... 阅读全文

posted @ 2016-01-20 16:05 itjeff 阅读(233) 评论(0) 推荐(0)

C#后台利用正则表达式查找匹配字符
摘要:/// /// 发送短信 系统固化短信 /// /// /// /// /// /// public static Result SendMsgBySysInit(string memberId, string mobile, string subType, int groupId) ... 阅读全文

posted @ 2016-01-12 16:06 itjeff 阅读(1299) 评论(0) 推荐(0)

C# Dictionary 的几种遍历方法
摘要:Dictionary list =newDictionary(); list.Add("d", 1);//3.0以上版本foreach(variteminlist) {Console.WriteLine(item.Key + item.Value); }//KeyValuePairforeach(K... 阅读全文

posted @ 2016-01-12 16:02 itjeff 阅读(2592) 评论(0) 推荐(0)

javascript keycode大全
摘要:keycode 8 = BackSpace BackSpace keycode 9 = Tab Tab keycode 12 = Clearkeycode 13 = Enter keycode 16 = Shift_L keycode 17 = Control_L keycode 18 = Alt_... 阅读全文

posted @ 2016-01-07 15:23 itjeff 阅读(210) 评论(0) 推荐(0)

eval解析JSON中的注意点
摘要:在JS中将JSON的字符串解析成JSON数据格式,一般有两种方式:1.一种为使用eval()函数。2. 使用Function对象来进行返回解析。使用eval函数来解析,并且使用jquery的each方法来遍历用jquery解析JSON数据的方法,作为jquery异步请求的传输对象,jquery请求后... 阅读全文

posted @ 2016-01-06 17:18 itjeff 阅读(162) 评论(0) 推荐(0)

导航