摘要: declare @tableName varchardeclare @time varcharset @tableName='table'set @time='20130930'set @sql='select * from '+@tableName+'_'+@timeexec @sql 阅读全文
posted @ 2013-09-30 10:01 emteam 阅读(1121) 评论(0) 推荐(0) 编辑
摘要: position为fixed时,border显示不完整解决方法:去掉height属性,或者height属性设为100% overflow:hidden 阅读全文
posted @ 2013-08-13 15:13 emteam 阅读(203) 评论(0) 推荐(0) 编辑
摘要: safari下如果用document.getElementById("id").click()触发点击事件,是没有效果的解决办法:var e = document.createEvent('MouseEvent'); e.initEvent('click', false, false); setTimeout(document.getElementById("id").dispatchEvent(e),0); 阅读全文
posted @ 2013-07-11 09:53 emteam 阅读(562) 评论(0) 推荐(0) 编辑
摘要: 当IE不支持Jquery的Trim()方法时,就需要JS的方法:function mytrim(str){ return str.replace(/^\s+|\s+$/g,"");} 阅读全文
posted @ 2013-07-10 10:28 emteam 阅读(139) 评论(0) 推荐(0) 编辑
摘要: stringtextToBase64(string sAscii){System.Text.ASCIIEncoding encoding =newSystem.Text.ASCIIEncoding();byte[]bytes = encoding.GetBytes(sAscii);returnSystem.Convert.ToBase64String(bytes, 0 , bytes.Length);}stringbase64ToText(string sbase64){byte[]bytes = System.Convert.FromBase64String(sbase64);System. 阅读全文
posted @ 2013-06-27 10:38 emteam 阅读(157) 评论(0) 推荐(0) 编辑
摘要: “大数据”作为时下最火热的IT行业的词汇,随之数据仓库、数据安全、数据分析、数据挖掘等等围绕大数量的商业价值的利用逐渐成为行业人士争相追捧的利润焦点。笔者愚钝,大数据有多大,一直没有清晰的概念,故此简单的科普研究,分享至此: 最小的基本单位是Byte应该没多少人不知道吧,下面先按顺序给出所有单位:Byte、KB、MB、GB、TB、PB、EB、ZB、YB、DB、NB 我只知道前五个,估计大多数人都知道吧,按照进率1024(2的十次方)计算: 1Byte = 8 Bit 1 KB = 1,024 Bytes 1 MB = 1,024 KB = 1,048,576 ... 阅读全文
posted @ 2013-06-26 12:46 emteam 阅读(236) 评论(0) 推荐(0) 编辑
摘要: *$("*")所有元素#id$("#lastname")id="lastname" 的元素.class$(".intro")所有 class="intro" 的元素element$("p")所有 元素.class.class$(".intro.demo")所有 class="intro" 且 class="demo" 的元素:first$("p:first")第一个 元素:last$(" 阅读全文
posted @ 2013-06-20 23:42 emteam 阅读(141) 评论(0) 推荐(0) 编辑