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 阅读(225) 评论(0) 推荐(0) 编辑

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

posted @ 2016-01-12 16:06 itjeff 阅读(1297) 评论(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 阅读(2571) 评论(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 阅读(209) 评论(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 阅读(161) 评论(0) 推荐(0) 编辑

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示