摘要: $(".CheckBoxAll:checkbox").click(function(){$(".CheckBoxItem:checkbox").attr("checked",$(this).attr("checked"));});$(".CheckBoxItem:checkbox").click(function(){varflag=$(".CheckBoxItem:checkbox").length==$(".CheckBoxItem:checked") 阅读全文
posted @ 2012-02-13 10:38 jgjg2323 阅读(166) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/keisuoy/archive/2007/08/08/1731528.aspxhttp://glwangnet.blog.163.com/blog/static/514224552011117445871/ 阅读全文
posted @ 2011-03-10 16:19 jgjg2323 阅读(1113) 评论(0) 推荐(0) 编辑
摘要: 使用Val() 函数转换相当数值=IIf(Fields!Qcsl.Value=0,0,Val(Fields!Qcje.Value)/Val(Fields!Qcsl.Value)) 阅读全文
posted @ 2011-03-10 16:18 jgjg2323 阅读(473) 评论(0) 推荐(0) 编辑
摘要: declare@d1datetimeset@d1=getdate()selecttop100*from[sd_qyxx]whereqydmnotin(selecttop49900[qydm]from[sd_qyxx]orderby[qydm]asc)orderby[qydm]ascselect[语句执行花费时间(毫秒)]=datediff(ms,@d1,getdate()) 阅读全文
posted @ 2011-02-24 16:49 jgjg2323 阅读(161) 评论(0) 推荐(0) 编辑
摘要: declare @d datetime set @d=getdate() select [语句执行花费时间(毫秒)]=datediff(ms,@d,getdate()) 阅读全文
posted @ 2011-02-24 13:44 jgjg2323 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 1functiongetClientHeight()2{3//可见高4varclientHeight=document.body.clientHeight;//其它浏览器默认值5if(navigator.userAgent.indexOf("MSIE6.0")!=-1)6{7clientHeight=document.body.clientHeight;8}9elseif(navigator.userAgent.indexOf("MSIE")!=-1)10{11//IE7IE812clientHeight=document.documentElement 阅读全文
posted @ 2011-02-24 10:20 jgjg2323 阅读(3965) 评论(0) 推荐(0) 编辑
摘要: Browsable - 指定一个属性 (Property) 或事件是否应显示在“属性”窗口中Description - 指定属性 (Property) 或事件的说明Category - 给属性或事件分组的类别的名称NotifyParentProperty - 指示当此属性应用到的属性的值被修改时将通知父属性DefaultValue - 指定属性 (Property) 的默认值Editor - 指定用来更改属性的编辑器ToolboxItem - 表示工具箱项的属性ToolboxData - 指定当从 Microsoft Visual Studio 等工具中的工具箱拖动自定 阅读全文
posted @ 2011-02-18 09:59 jgjg2323 阅读(271) 评论(0) 推荐(0) 编辑
摘要: /* tables */table.tableblue { font-family:arial; background-color: #CDCDCD; margin:10px 0pt 15px; font-size: 8pt; width: 100%; text-align: left;}table.tableblue thead tr th, table.tableblue tfoot tr th { background-color: #e6EEEE; border: 1px solid #FFF; font-size: 8pt; padding: 4px;}table.tableblue 阅读全文
posted @ 2011-02-11 14:25 jgjg2323 阅读(414) 评论(0) 推荐(0) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--///summary///遍历枚举绑定////summarypublicvoidBindTreeType(){//遍历枚举绑定foreach(stringstrinEnum.GetNames(typeof(ENUM.E_treeType))){ddlTreeType.Items.Add(str,Enum.Parse(typeof(ENUM.E_treeType),str).GetHashC 阅读全文
posted @ 2010-12-18 11:33 jgjg2323 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--//KeepuserfromenteringmorethanmaxLengthcharactersfunctiondoKeyPress(obj,evt){maxLength=obj.getAttrib... 阅读全文
posted @ 2010-11-03 09:43 jgjg2323 阅读(399) 评论(0) 推荐(1) 编辑