01 2008 档案
摘要: select CONVERT(varchar, getdate(), 120 )2004-09-12 11:06:08select replace(replace(replace(CONVERT(varchar, getdate(), 120 ),'-',''),' ',''),':','')20040912110608select CONVERT(varchar(12) , getdate(),...阅读全文
摘要: 在坛子里经常看到一些关于Session的问题,下面做一个总结,希望对大家有所帮助:问:为什么Session在有些机器上偶尔会丢失?答:可能和机器的环境有关系,比如:防火墙或者杀毒软件等,尝试关闭防火墙。问:为什么当调用Session.Abandon时并没有激发Session_End方法?答:首先Session_End方法只支持InProc(进程内的)类型的Session。其次要激发Session_...阅读全文
摘要: 在Asp.net AJAX 1.0 RTM版中,使用FrameSet或Iframe时,frame或iframe的frameborder属性应使用1 或 0,如:frameborder="0"而不能使用yes 或 no,如:frameborder="no"否则AJAX 1.0会出现如下脚本错误:Sys.ArgumentOutOfRangeException: Value must be an int...阅读全文
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Collections;namespaceTest{pub...阅读全文
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Collections;namespaceConsoleA...阅读全文
摘要: C#的泛型能力有CLR在运行时支持,它既不同于C++在编译时所支持的静态模板,也不同于Java在编译器层面使用“搽拭法”支持的简单的泛型。 C#的泛型支持包括类、结构、接口、委托共四种泛型类型,以及方法成员。 C#的泛型采用“基类,接口,构造器,值类型/引用类型”的结束方式来实现对类型参数的“显示约束”,它不支持C++模板那样...阅读全文

