会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
xjt360
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
3
4
5
6
7
8
9
10
11
···
15
下一页
2014年9月28日
ef中关于数据库中int为null问题
摘要: 今天在linq to sql中
阅读全文
posted @ 2014-09-28 09:50 xjt360
阅读(383)
评论(0)
推荐(0)
2014年9月25日
js 中的arr和number
摘要: 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
阅读(312)
评论(0)
推荐(0)
datagrid前台修改format后的值
摘要: function formatSh(value, row, index) { var d = ""; if (value && !row.posted) { d = '审核'; ...
阅读全文
posted @ 2014-09-25 18:52 xjt360
阅读(260)
评论(0)
推荐(0)
datagrid中在IE8中错位问题
摘要: ...
阅读全文
posted @ 2014-09-25 18:39 xjt360
阅读(136)
评论(0)
推荐(0)
修改easyui中datagrid中特定行的内容
摘要: $('#tbmain').datagrid('beginEdit', index);//先把行号为index的行状态设为开始编辑 $('#tbmain').datagrid('getRows')[index]['zzrq'] = returnValue.zzrq; ...
阅读全文
posted @ 2014-09-25 16:04 xjt360
阅读(518)
评论(0)
推荐(0)
注意Entity中的Uptate
摘要: 今天在调用架构中的UpdateEntity方法时 public bool UpdateEntity(T entity) { OC.CreateObjectSet().Attach(entity);//这就是报错所在 OC.Ob...
阅读全文
posted @ 2014-09-25 14:47 xjt360
阅读(217)
评论(0)
推荐(0)
通过属性名找出对应属性
摘要: 昨晚弄了两个多小时没搞出来刚开始以为要用到反射,但后来看了下对应的属性class.getType().getPro.....,这方法没效果不知为啥 求解
阅读全文
posted @ 2014-09-25 12:05 xjt360
阅读(157)
评论(0)
推荐(0)
用jquery设text为***的值为选中
摘要: 今天折腾了一个小时 网上找了$("#select_id option[text='jQuery']").attr("selected", true); //设置Select的Text值为jQuery的项选中上面的不知为啥不起作用自己想了个办法$("#select_id").val($("#selec...
阅读全文
posted @ 2014-09-25 11:59 xjt360
阅读(101)
评论(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
阅读(245)
评论(0)
推荐(0)
2014年9月24日
js string方法中的match,replace和search方法
摘要: 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
阅读(442)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
15
下一页
公告