2014年7月3日

MiNI UI GridData 获取指定的列的值设置该行是否可编辑

摘要: oncellbeginedit="OnCellBeginEdit" functionOnCellBeginEdit(e){varrec=e.record;varfield=e.field;if(field=="CodeType"){e.cancel=true;}} 阅读全文

posted @ 2014-07-03 10:44 仅此一个年华 阅读(1551) 评论(0) 推荐(0)

2014年2月28日

查询数据库中某个特定的字段所在的所以表(不包含视图)

摘要: --查询数据库中某个特定的字段所在的所以表(不包含视图)select a.[name] 表名 from sysobjects aleft join(select [id],count(*) b from syscolumns where [name]in('Id','SellerNick') group by [id] having count(*)>1) b on a.[id]=b.[id]where b.id is not null and a.type'V'--创建虚拟表,把值带给他declare @tb table(NewSelle 阅读全文

posted @ 2014-02-28 11:07 仅此一个年华 阅读(378) 评论(0) 推荐(0)

导航