摘要:
[Don't use closures unless you really need closure semantics.]不要使用闭包,除非你真正需要它。[In most cases, non-nested functions arethe right way to go.]请使用无嵌套函数。闭包的应用场景一闭包的应用场景二闭包的应用场景三-------------------------------------------什么是闭包?function a(){ var i=0;function b(){ alert(i); } return b; } var c = a(); c( 阅读全文
摘要:
安装SQL Server 2005的时候,默认设置"Windows身份验证"。 此时"Sql Server 身份验证"和"Sa用户"是被禁用的。 如果我们要使用Sql Server 身份验证模式下的Sa用户登录,则必须依次开启Sql Server身份验证模式,和开启Sa用户。 开启Sql Serve 阅读全文