2006年8月28日

摘要: 终于解决。动态创建服务器控件时务必要指定ID,不然就会出错。奇怪的是这个问题时有时无,害我找了很久。 又找到一个诱因,Output Cache!!!早该想到的!!! 阅读全文

posted @ 2006-08-28 11:51 arts 阅读(222) 评论(0) 推荐(0) 编辑

2006年8月24日

摘要: 似乎postback后生成的页面,点击事件可以响应,而首次载入的页面无响应。后讲页面和用户控件的viewstate设为false后问题解决,不知道什么原因。 阅读全文

posted @ 2006-08-24 16:24 arts 阅读(260) 评论(0) 推荐(0) 编辑

2006年8月17日

摘要: ASP.NET 2.0中几个对象的主要方法/事件流程根据Lutz Roeder的Reflector对System.Web.dll的反编译,下面是HttpApplication,Page和Control对象的主要方法和事件的流程 PostBack Page/Control Event CallBack HttpApplicationPageControl BeginRequest Authentic... 阅读全文

posted @ 2006-08-17 13:54 arts 阅读(357) 评论(0) 推荐(0) 编辑

2006年7月16日

摘要: web测试指标 wendy 发表于 2005-12-20 14:16:40 web测试指标1随 着Internet的日益普及,现在基于B/S结构的大型应用越来越多,可如何对这些应用进行测试成为日益迫切的问题。有许多测试人员来信问我B/S的测 试如何做,由于工作较繁忙,对大家提出的问题也是头痛医头脚痛医脚,没有对WEB的测试过程做一个整体的概述。希望通过本篇能够让大家了解大型Web应用 是如何来进行... 阅读全文

posted @ 2006-07-16 21:42 arts 阅读(621) 评论(0) 推荐(0) 编辑

2006年7月9日

摘要: 一般的绑定方法<%# DataBinder.Eval(Container.DataItem, "字段名") %>用DataBinder.eval 绑定不必关心数据来源(Dataread或dataset)。不必关心数据的类型eval会把这个数据对象转换为一个字符串。在底层绑定做了很多工作,使用了反射性能。正因为使用方便了,但却影响了数据性能。来看下<%# DataBinder.Ev... 阅读全文

posted @ 2006-07-09 22:16 arts 阅读(211) 评论(0) 推荐(0) 编辑

摘要: 1、IIS6.0的Kernel Caching2、Gzip,IIS6.0的xml配置文件中修改。Edit \Windows\System32\inetsrv\MetaBase.xml with your favorite texteditor. Search for "IIsCompressionScheme". There will be two XMLelements, one for def... 阅读全文

posted @ 2006-07-09 15:46 arts 阅读(217) 评论(0) 推荐(0) 编辑

2006年7月8日

摘要: 好多朋友使用过Outlook或者Windows Live Mail:在撰写新邮件时,您会发现初始的收件人文本框只有一行。但如果您输入了好多地址,超过了一行的长度,它会自动地变成两行,如果不够,还会变成三行,四行等。这种文本框既节约了初始空间,又让用户输入大量数据时不感到局促。为了让您对其有更直观的了解或是有些朋友没有用到过上述产品,请看下面的截图: 初始只有两行: 当您继续输入时,行数会自动增加:... 阅读全文

posted @ 2006-07-08 14:04 arts 阅读(356) 评论(0) 推荐(0) 编辑

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--protectedoverridevoidRender(HtmlTextWriterwriter){StringWritersw=newStringWriter();HtmlTextWriterhtmlw... 阅读全文

posted @ 2006-07-08 13:56 arts 阅读(191) 评论(0) 推荐(0) 编辑

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--/**////<summary>///AddaquerytoanURL.///iftheURLhasnotanyquery,thenappendthequerykeyandvaluetoit.... 阅读全文

posted @ 2006-07-08 13:54 arts 阅读(275) 评论(0) 推荐(0) 编辑

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<... 阅读全文

posted @ 2006-07-08 13:51 arts 阅读(301) 评论(0) 推荐(0) 编辑