10 2017 档案
摘要:在使用easyui 的datagrid异步加载数据时发现滚动条有时会自动滚到最底部。经测试发现,如果加载数据前没有选中行则不会出现这个问题。这样我们可以在重新异步加载数据前取消选中行就可以避免这个问题。
阅读全文
摘要:在hibernate中用SQL查询返回的结果集中,列名或别名必须唯一,否则会报下面的错误。返回的结果集中,列名或别名可以没有,但只能有一列没有。//空别名重复的情况:org.hibernate.loader.custom.NonUniqueDiscoveredSqlAliasException: E
阅读全文
摘要:运行测试,控制台输出:truetruefalse
阅读全文
摘要:with cte as( select bianma,fjbm from #tree where chkDisabled='true' union all select t.bianma,t.fjbm from cte c inner join #tree t on c.fjbm=t.bianma ) select * from cte;
阅读全文
摘要:declare @tname nvarchar(255)=N'要修改的表名'; --修改所有以sl结尾的列名的小数位数为4位 select syscolumns.name into #t1 from syscolumns,systypes where syscolumns.xusertype = systypes.xusertype and syscolumns.id = object_i...
阅读全文
摘要:$("#dgid").dialog("center");
阅读全文