会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
luckylei66
博客园
::
首页
::
博问
::
闪存
::
新随笔
::
联系
::
订阅
::
管理
::
公告
上一页
1
2
3
4
5
下一页
2012年10月13日
【原】JQuery Masked Input Plugin
摘要: 插件:Masked Input Plugin http://digitalbush.com/projects/masked-input-plugin/ jQuery(function($){ $("#date").mask("99/99/9999"); $(...
阅读全文
posted @ 2012-10-13 16:21 Leo.Wang
阅读(229)
评论(0)
推荐(0)
2012年9月29日
【原】JS点击层外任何地方关闭层
摘要: .planFinderLink { font-size : 13px ; color : #365cb7 ; text-decoration : underline ; } /* Overlay */ #uplo...
阅读全文
posted @ 2012-09-29 15:27 Leo.Wang
阅读(3170)
评论(0)
推荐(0)
2012年8月23日
【转】解决javascript中replace只能替换第一个
摘要: replace如果替换数据时,默认只替换第一个。 如果在替换的时候加上: / 替换内容 /g 就能实现全部替换 例如:functionchange(strvalue){strvalue=strvalue.replace(/&/g,"&");strvalue=strvalue.replace(/</g,"<");strvalue=strvalue.replace(/>/g,">");strvalue=strvalue.replace(/"/g,"
阅读全文
posted @ 2012-08-23 16:36 Leo.Wang
阅读(918)
评论(0)
推荐(0)
2012年7月30日
【原】SQL存储过程调用慢,但是重新编译一下存储过程就很快
摘要: .NET调用存储过程时,有时候会变的很慢甚至会timeout,但是再执行一下存储过程,再调用就会很快。 解决办法: 1. 在可能比较耗时的语句后面加上option(recompile) 2. 创建存储过程时在其定义中指定 WITH RECOMPILE 选项,表明 SQL Server 将不对该存储...
阅读全文
posted @ 2012-07-30 11:41 Leo.Wang
阅读(3778)
评论(1)
推荐(0)
2012年7月16日
【转】Entity Framework 学习积累
摘要: 转自:http://www.cnblogs.com/mbailing/archive/2012/07/16/2593368.htmlEF4.1/4.3 的一些使用小技巧 (1)、多表关联查询的写法: var query = (from m in context.Dic_PropertyClass...
阅读全文
posted @ 2012-07-16 22:19 Leo.Wang
阅读(297)
评论(0)
推荐(0)
2012年7月12日
【原】SQL Server get csv group by
摘要: DECLARE@Table1TABLE(EntityIDINT,AttributeIDINT,OptionTextVARCHAR(50))INSERTINTO@Table1SELECT5030,48,'M'INSERTINTO@Table1SELECT5030,48,'F'--BeginactualworkingSQLSELECTT1.EntityID,T1.AttributeID,STUFF((SELECT','+T2.OptionTextFROM@Table1T2WHERET2.AttributeID=T1.AttributeIDANDT2.
阅读全文
posted @ 2012-07-12 22:27 Leo.Wang
阅读(175)
评论(0)
推荐(0)
【转】jQuery 学习 preventDefault()
摘要: 参考: http://api.jquery.com/event.preventDefault/ 参考: http://www.w3school.com.cn/htmldom/event_preventdefault.asp 定义和用法 取消事件的默认动作。 语法 event.preve...
阅读全文
posted @ 2012-07-12 22:05 Leo.Wang
阅读(199)
评论(0)
推荐(0)
【原】Iframe with SimpleModal keeps breaking down in IE 9 IE 7
摘要: SimpleModal 插件 http://www.ericmmartin.com/projects/simplemodal/ 以下代码可以避免在IE中使用simpleModal弹出iframe出错问题 varlicense_no='' $(document).ready( funct...
阅读全文
posted @ 2012-07-12 21:59 Leo.Wang
阅读(252)
评论(0)
推荐(0)
【原】SQL 取当前年 (年初 1月1号) 当前月 (月初 1号) 当前日 (零点)
摘要: SELECT DATEADD(yy, DATEDIFF(yy, 0, getdate()), 0) -- 当前年1月1号 SELECT DATEADD(mm, DATEDIFF(mm, 0, getdate()), 0) -- 当前月1号 SELE...
阅读全文
posted @ 2012-07-12 21:35 Leo.Wang
阅读(10653)
评论(0)
推荐(0)
2012年6月11日
【转】iframe自适应高度
摘要: function reinitIframe(){ var iframe = document.getElementById( " frame_content " ); try { var bHeight = iframe.contentWin...
阅读全文
posted @ 2012-06-11 15:37 Leo.Wang
阅读(182)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页