上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 71 下一页
摘要: var selectedCodeArray = [];var num = $.inArray(值, selectedCodeArray) //值在数组中的位置selectedCodeArray.push(值码);selectedCodeArray.splice(num, 1);//从数组中删除 阅读全文
posted @ 2014-06-18 17:36 扯 阅读(155) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/yuilin/p/3788796.html我们的程序最后都会运行在客户的环境中,客户环境上不会有VS这样的开发工具,那么怎么办呢?我们可以使用一个很小巧的命令行调试工具Mdbg.exe,这个工具是安装VS的时候附带安装的,仅能调试.net托管代码。Mdb... 阅读全文
posted @ 2014-06-16 18:12 扯 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 1、左关联查询var lst = from m in db.信息 join d in db.明细信息 on m.单号 equals d.单号 into mi from dt in mi.DefaultIfEmpty() //dt标示右表 where m.单号 == "2014" && dt.编码.S... 阅读全文
posted @ 2014-06-13 12:02 扯 阅读(227) 评论(0) 推荐(0) 编辑
摘要: $('#mygrid').jqGrid('GridUnload'); //保留table元素$('#mygrid').jqGrid('GridDestroy '); //相当于remove,移除包括table元素grid.jqGrid("saveCell", lastrow, lastcell);/... 阅读全文
posted @ 2014-06-12 18:02 扯 阅读(1114) 评论(0) 推荐(0) 编辑
摘要: 1、查看表上的索引sp_helpIndex [表名] --查询表上拥有的索引2、更新其它表update 申请信息set 研发部门='123',版本信息='321'where 单号=(select 单号 from 明细信息 where 明细编号=60)update 申请信息set 研发部门= B.单号... 阅读全文
posted @ 2014-06-12 16:20 扯 阅读(393) 评论(0) 推荐(0) 编辑
摘要: continue: return true;break: return false;$("#oGrid").each(function (i, v) {if (i == 0) return true;}); 阅读全文
posted @ 2014-06-11 20:59 扯 阅读(580) 评论(0) 推荐(0) 编辑
摘要: http://linqjs.codeplex.com/ /*Linq JS*/ //range var aa = Enumerable.range(1, 10).toArray(); var kk = Enumerable.range(1, 10, 3).toArray(); ... 阅读全文
posted @ 2014-05-30 11:47 扯 阅读(1316) 评论(0) 推荐(0) 编辑
摘要: 一、事件参数 function(event){}1、停止冒泡事件 event.stopPropagation() return false;2、阻止默认行为 event.preventDefault() return false;3、事件类型 event.type 比如click、dbclick... 阅读全文
posted @ 2014-05-30 11:06 扯 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 1、Find 1.1 {"Type":"A;B"} 1.2 Or {"$or":[{"Type":/A/},{"Type":/B/}]} 1.3 模糊查询 {"Name":/CZ/} 不要引号 {name:/^Joe/} like "Joe%" 1.4 大于、小于 {“age“:{$gt:33} {... 阅读全文
posted @ 2014-05-29 13:45 扯 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.cnblogs.com/hacker84/archive/2009/04/22/1441500.htmlhttp://www.cnblogs.com/siceblue/archive/2010/03/03/1677306.html所有JavaScript对象都带有的一个属... 阅读全文
posted @ 2014-05-22 14:51 扯 阅读(379) 评论(0) 推荐(0) 编辑
上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 71 下一页