码迷,mamicode.com
首页 >  
搜索关键字:object    ( 37240个结果
《The Story of My Life》Introductiom - A Journey Of Discovery
"I do not object to harsh criticism," said Helen Keller, "so long as I am treated like a human being who has a mind of her own." The Story of My Lif.....
分类:其他好文   时间:2014-09-06 22:25:33    阅读次数:288
js 数据类型
js 数据类型 undefined 未定义boolean 布尔值string 字符串number 数值object 对象后者null;function 函数数字转化Number(); parseInt(); parseFloat(); 可以把非数字转化成数字Number();...
分类:Web程序   时间:2014-09-06 13:38:33    阅读次数:194
08. 删除重复&海量数据
原文:08. 删除重复&海量数据重复数据,通常有两种:一是完全重复的记录,也就是所有字段的值都一样;二是部分字段值重复的记录。 一. 删除完全重复的记录完全重复的数据,通常是由于没有设置主键/唯一键约束导致的。测试数据: if OBJECT_ID('duplicate_all') is not nu...
分类:其他好文   时间:2014-09-06 12:21:23    阅读次数:175
04. 字符串合并与拆分写法小结
原文:04. 字符串合并与拆分写法小结一. 字符合并 if OBJECT_ID('ConcatStr') is not null drop table ConcatStr GO create table ConcatStr ( ID int, Code varchar(10) ) GO insert...
分类:其他好文   时间:2014-09-06 12:12:13    阅读次数:147
05. 取SQL分组中的某几行数据
原文:05. 取SQL分组中的某几行数据对表中数据分组,有时只需要某列的聚合值;有时却需要返回整行数据,常用的方法有:子查询、ROW_NUMBER、APPLY,总体感觉还是ROW_NUMBER比较直观。测试数据: if OBJECT_ID('testGroup') is not null drop ...
分类:数据库   时间:2014-09-06 12:10:43    阅读次数:353
IE Array Object Heap Spraying
Array Object Heap SprayingJscript9中的Array对象是一个很有意思的东西,由于数组的便利性,我们可以用数组来做很多事情,比如修改数组长度来实现任意地址的读写、利用Array的vftable进行信息泄露等等。在CanSecWest 2014上ga1ois的讲题《The...
分类:其他好文   时间:2014-09-05 21:04:12    阅读次数:330
struts2标签库
OGNL:object-graph navigation language 类似EL表达式,但是有自己的优点:“.”作为操作符,例如user.getName()可以这样写:user.name,OGNL主要有3个符号:# % $struts2的标签共分为五大类:一、逻辑控制标签1)条件标签:用于执行基...
分类:其他好文   时间:2014-09-05 19:42:51    阅读次数:320
对象与数组的相互转换
functionarrayToObject($e){ if(gettype($e)!=‘array‘)return; foreach($eas$k=>$v){ if(gettype($v)==‘array‘||getType($v)==‘object‘) $e[$k]=(object)arrayToObject($v); } return(object)$e; } functionobjectToArray($e){ $e=(array)$e; foreach($eas$k=>$v){ if(g..
分类:其他好文   时间:2014-09-05 18:32:32    阅读次数:133
powershell利用winform批量执行tsql语句
#加载.net的winform模块[Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")$app=[System.Windows.Forms.Application]$myForm=new-object System.Wi...
分类:数据库   时间:2014-09-05 18:06:31    阅读次数:333
javascript常用方法(慢慢整理)
获取类型:[object object],[object function],[object Undefined]等Object.prototype.toString.apply(obj);获取对象的所有属性方法:function t(obj){for(var i in obj)alert(i+"-...
分类:编程语言   时间:2014-09-05 18:05:21    阅读次数:232
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!