上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页
摘要: 今天在linq to sql中 阅读全文
posted @ 2014-09-28 09:50 xjt360 阅读(377) 评论(0) 推荐(0) 编辑
摘要: arr是引用类型 number是值类型下面有两个方法function myReverse(arr){for(var i=0;i<arr.length/2;i++){var tmp=arr[i];arr[i]=arr[arr.length-i-1];arr[arr.length-i-1]=tmp;}}... 阅读全文
posted @ 2014-09-25 21:35 xjt360 阅读(294) 评论(0) 推荐(0) 编辑
摘要: function formatSh(value, row, index) { var d = ""; if (value && !row.posted) { d = '审核'; ... 阅读全文
posted @ 2014-09-25 18:52 xjt360 阅读(252) 评论(0) 推荐(0) 编辑
摘要: ... 阅读全文
posted @ 2014-09-25 18:39 xjt360 阅读(134) 评论(0) 推荐(0) 编辑
摘要: $('#tbmain').datagrid('beginEdit', index);//先把行号为index的行状态设为开始编辑 $('#tbmain').datagrid('getRows')[index]['zzrq'] = returnValue.zzrq; ... 阅读全文
posted @ 2014-09-25 16:04 xjt360 阅读(500) 评论(0) 推荐(0) 编辑
摘要: 今天在调用架构中的UpdateEntity方法时 public bool UpdateEntity(T entity) { OC.CreateObjectSet().Attach(entity);//这就是报错所在 OC.Ob... 阅读全文
posted @ 2014-09-25 14:47 xjt360 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 昨晚弄了两个多小时没搞出来刚开始以为要用到反射,但后来看了下对应的属性class.getType().getPro.....,这方法没效果不知为啥 求解 阅读全文
posted @ 2014-09-25 12:05 xjt360 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 今天折腾了一个小时 网上找了$("#select_id option[text='jQuery']").attr("selected", true); //设置Select的Text值为jQuery的项选中上面的不知为啥不起作用自己想了个办法$("#select_id").val($("#selec... 阅读全文
posted @ 2014-09-25 11:59 xjt360 阅读(98) 评论(0) 推荐(0) 编辑
摘要: string djbh="";var data = db.z_ygzz.OrderByDescending(zz => zz.ygzzid).Take(1); djbh = data.Select(d => d.djbh).FirstOrDefault(... 阅读全文
posted @ 2014-09-25 10:17 xjt360 阅读(216) 评论(0) 推荐(0) 编辑
摘要: match中也可用正则 返回的是数组var str="i love you, i love you";str.match(/love/);//只返回一个lovestr.match(/love/g);// /love/g后面的g是全局匹配,这时就返回两个love的数组同理str.replace(/lo... 阅读全文
posted @ 2014-09-24 08:10 xjt360 阅读(421) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页