使用 Aspose.Cells 实现 excel导入
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.IO; using System.Data; using System.Diagnostics...
阅读全文
posted @
2016-03-19 10:25
Herry彬
阅读(788)
推荐(0)
js-我理解的闭包
摘要:一:什么是闭包 《JS高级程序设计》指出:闭包是指有有权访问另一个函数作用域中变量的函数。 二:闭包的使用 闭包的常见的创建方式是 子函数嵌套在父函数的内部,这样,子函数就可以访问父函数中的变量。 8行 2 9行 2 12,13行 2,3 那么,为什么第9行得到的结果仍然是2,而不是期待中的3呢?
阅读全文
posted @
2016-03-03 18:32
Herry彬
阅读(438)
推荐(0)
js- this
摘要:this对象是基于函数在执行的环境绑定的。 (一) this 在闭包环境中指向的对象。 《Js高级程序设计》中提到: 每个函数在被调用时,其活动对象都会自动取得两个特殊变量:this和arguments。 内部函数搜索这两个this,arguments时,只会搜索到其活动对象为止,因此永远不可能直接
阅读全文
posted @
2016-03-01 17:10
Herry彬
阅读(249)
推荐(0)