<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/cattei</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; cattei]]></copyright><item><title><![CDATA[hashtable and hashmap]]></title><link>https://blog.youkuaiyun.com/cattei/article/details/6320783</link><guid>https://blog.youkuaiyun.com/cattei/article/details/6320783</guid><author>cattei</author><pubDate>Wed, 13 Apr 2011 15:35:00 +0800</pubDate><description><![CDATA[<br />1、 继承和实现区别

Hashtable是基于陈旧的Dictionary类，完成了Map接口；HashMap是Java 1.2引进的Map接口的一个实现（HashMap继承于AbstractMap,AbstractMap完成了Map接口）。

2、 线程安全不同

HashTable的方法是同步的，HashMap是未同步，所以在多线程场合要手动同步HashMap。

3、 对null的处理不同

HashTable不允许null值(key和value都不可以),HashMa]]></description><category></category></item><item><title><![CDATA[system.Web.UI.Page.Server.get 要求引用解决方法]]></title><link>https://blog.youkuaiyun.com/cattei/article/details/5490108</link><guid>https://blog.youkuaiyun.com/cattei/article/details/5490108</guid><author>cattei</author><pubDate>Thu, 15 Apr 2010 19:11:00 +0800</pubDate><description><![CDATA[代码是判断是否支持一些服务器组件 如下    public static string IsObject(string ObjectName)    {        try        {            Server.CreateObject(ObjectName);            return "√";        }        catch (Exception]]></description><category></category></item><item><title><![CDATA["Stack overflow in line 0" errors when I look at it in Internet Explorer.]]></title><link>https://blog.youkuaiyun.com/cattei/article/details/5484340</link><guid>https://blog.youkuaiyun.com/cattei/article/details/5484340</guid><author>cattei</author><pubDate>Wed, 14 Apr 2010 11:35:00 +0800</pubDate><description><![CDATA[I had an OnError() event in some code that was setting the image source to a default image path if it wasnt found. Of course, if the default image path wasnt found it would trigger the error handl]]></description><category></category></item><item><title><![CDATA[local map domain]]></title><link>https://blog.youkuaiyun.com/cattei/article/details/5457925</link><guid>https://blog.youkuaiyun.com/cattei/article/details/5457925</guid><author>cattei</author><pubDate>Wed, 07 Apr 2010 13:40:00 +0800</pubDate><description><![CDATA[C:/WINDOWS/system32/drivers/etc hosts # Copyright (c) 1993-1999 Microsoft Corp.## This is a sample HOSTS file used by Microsoft TCP/IP for Windows.## This file contains the mappings ]]></description><category></category></item><item><title><![CDATA[asp.net 也玩微操：long?]]></title><link>https://blog.youkuaiyun.com/cattei/article/details/5345451</link><guid>https://blog.youkuaiyun.com/cattei/article/details/5345451</guid><author>cattei</author><pubDate>Thu, 04 Mar 2010 12:53:00 +0800</pubDate><description><![CDATA[今天发现一个很有用的东西：“？” 比如long? number与long inc比在DAC Lever当number收到字母等不合意的东西时，会自动地变成null存到数据库，而这时inc收到不合理数据，会出错！]]></description><category></category></item><item><title><![CDATA[Clear  in CSS]]></title><link>https://blog.youkuaiyun.com/cattei/article/details/5324844</link><guid>https://blog.youkuaiyun.com/cattei/article/details/5324844</guid><author>cattei</author><pubDate>Thu, 25 Feb 2010 10:33:00 +0800</pubDate><description><![CDATA[在CSS中我们会经常要用到“清除浮动”Clear，比较典型的就是clear:both; 语法：clear : none | left | right | both 取值：none  :  默认值。允许两边都可以有浮动对象 left  :  不允许左边有浮动对象 right  :  不允许右边有浮动对象 both  :  不允许有浮动对象 说明：该属性]]></description><category></category></item><item><title><![CDATA[Refresh or redirect]]></title><link>https://blog.youkuaiyun.com/cattei/article/details/5324830</link><guid>https://blog.youkuaiyun.com/cattei/article/details/5324830</guid><author>cattei</author><pubDate>Thu, 25 Feb 2010 10:30:00 +0800</pubDate><description><![CDATA[先看看ASP.NET页面刷新的实现方法：          public static void Refresh()        {            WriteScript("window.location=/"" + HttpContext.Current.Request.RawUrl + "/";");            if (null != HttpCont]]></description><category></category></item><item><title><![CDATA[ASP.NET Web Developer Checklist]]></title><link>https://blog.youkuaiyun.com/cattei/article/details/5324632</link><guid>https://blog.youkuaiyun.com/cattei/article/details/5324632</guid><author>cattei</author><pubDate>Thu, 25 Feb 2010 10:04:00 +0800</pubDate><description><![CDATA[					The following is a simple checklist you can use when building web applications.  Much of this still applies to other technologies and can easily be extended.  I try not to get too spe]]></description><category></category></item><item><title><![CDATA[about use javascrip change button image]]></title><link>https://blog.youkuaiyun.com/cattei/article/details/5289071</link><guid>https://blog.youkuaiyun.com/cattei/article/details/5289071</guid><author>cattei</author><pubDate>Thu, 04 Feb 2010 17:17:00 +0800</pubDate><description><![CDATA[                           function ValidateTandCs(source, args)    {           }    function disableBtn(btnID, newText) {        if (Page_IsValid == true) {         var btn = document.getElementById(]]></description><category></category></item><item><title><![CDATA[ASP.NET MVC ACTION FILTER - CACHING AND COMPRESSION]]></title><link>https://blog.youkuaiyun.com/cattei/article/details/5287471</link><guid>https://blog.youkuaiyun.com/cattei/article/details/5287471</guid><author>cattei</author><pubDate>Thu, 04 Feb 2010 10:41:00 +0800</pubDate><description><![CDATA[http://weblogs.asp.net/rashid/archive/2008/03/28/asp-net-mvc-action-filter-caching-and-compression.aspx Caching plays a major role in developing highly scalable web applications. We can cache ]]></description><category></category></item><item><title><![CDATA[《博客园精华集》ASP.NET分册第2论筛选结果文章列表]]></title><link>https://blog.youkuaiyun.com/cattei/article/details/5285906</link><guid>https://blog.youkuaiyun.com/cattei/article/details/5285906</guid><author>cattei</author><pubDate>Wed, 03 Feb 2010 17:47:00 +0800</pubDate><description><![CDATA[http://www.cnblogs.com/dflying/archive/2008/06/13/1219896.html ]]></description><category></category></item><item><title><![CDATA[ASP.NET中将数据输出到Excel ]]></title><link>https://blog.youkuaiyun.com/cattei/article/details/5285886</link><guid>https://blog.youkuaiyun.com/cattei/article/details/5285886</guid><author>cattei</author><pubDate>Wed, 03 Feb 2010 17:44:00 +0800</pubDate><description><![CDATA[在开发ISO文件管理系统的时候，曾经遇到过要将ASPX直接输出到EXCEL的需求，现将经验所得与大家分享。 其实，利用ASP.NET输出指定内容的WORD、EXCEL、TXT、HTM等类型的文档很容易的。主要分为三步来完成。 　　一、定义文档类型、字符编码 Response.Clear();  Response.Buffer= true;  Response.Charset="utf-8"; //]]></description><category></category></item><item><title><![CDATA[ASP.NET Ajax using a custom ViewManager to render paged data without updatepanels （在ASP.NET AJAX中使用自定义ViewManager局部更新数据）]]></title><link>https://blog.youkuaiyun.com/cattei/article/details/5285716</link><guid>https://blog.youkuaiyun.com/cattei/article/details/5285716</guid><author>cattei</author><pubDate>Wed, 03 Feb 2010 17:16:00 +0800</pubDate><description><![CDATA[Sometimes you do not want the overhead of using an updatepanel, as each time you make a request it is posting more back than you might need, sure it can be powerful and easy to use but not always the ]]></description><category></category></item><item><title><![CDATA[Building a Simple Blog Engine with ASP.NET MVC and LINQ - Part 3]]></title><link>https://blog.youkuaiyun.com/cattei/article/details/5285710</link><guid>https://blog.youkuaiyun.com/cattei/article/details/5285710</guid><author>cattei</author><pubDate>Wed, 03 Feb 2010 17:15:00 +0800</pubDate><description><![CDATA[http://aspalliance.com/1604_Building_a_Simple_Blog_Engine_with_ASPNET_MVC_and_LINQ__Part_3.all]]></description><category></category></item><item><title><![CDATA[A Templated ASP.NET RSS Feed Reader Control （开发模板化的ASP.NET RSS Feed Reader控件）]]></title><link>https://blog.youkuaiyun.com/cattei/article/details/5285607</link><guid>https://blog.youkuaiyun.com/cattei/article/details/5285607</guid><author>cattei</author><pubDate>Wed, 03 Feb 2010 16:57:00 +0800</pubDate><description><![CDATA[By popular demand (well a couple people) I have included a sample project with everything needed to get started using this control. Basically just a sample web project, click here to get the zipped ar]]></description><category></category></item><item><title><![CDATA[FileUpload filter]]></title><link>https://blog.youkuaiyun.com/cattei/article/details/5284918</link><guid>https://blog.youkuaiyun.com/cattei/article/details/5284918</guid><author>cattei</author><pubDate>Wed, 03 Feb 2010 14:25:00 +0800</pubDate><description><![CDATA[When we need to <a id="KonaLink0" class="kLink" style="position: static; text-decoration: underline !important;" onclick="function onclick(){adlinkMouseClick(event,this,0);}" onmouseov]]></description><category></category></item><item><title><![CDATA[IIS 6.0配置HTTP压缩]]></title><link>https://blog.youkuaiyun.com/cattei/article/details/5284841</link><guid>https://blog.youkuaiyun.com/cattei/article/details/5284841</guid><author>cattei</author><pubDate>Wed, 03 Feb 2010 14:06:00 +0800</pubDate><description><![CDATA[ 1. HTTP压缩概述 HTTP压缩是在Web服务器和浏览器间传输压缩文本内容的方法。HTTP压缩采用通用的压缩算法如gzip等压缩HTML、JavaScript或CSS文件。 2. HTTP压缩工作原理 Web服务器处理HTTP压缩的工作原理如下： 　　 Web服务器接收到浏览器的HTTP请求后，检查浏览器是否支持HTTP压缩； 如果浏览器支持HTTP压缩，Web服务器检查请求文件的后缀名； ]]></description><category></category></item><item><title><![CDATA[Javascript&Jquery 常用属性]]></title><link>https://blog.youkuaiyun.com/cattei/article/details/5284337</link><guid>https://blog.youkuaiyun.com/cattei/article/details/5284337</guid><author>cattei</author><pubDate>Wed, 03 Feb 2010 11:34:00 +0800</pubDate><description><![CDATA[JScript code  Attribute：$(”p”).addClass(css中定义的样式类型); 给某个元素添加样式$(”img”).attr({src:”test.jpg”,alt:”test Image”}); 给某个元素添加属性/值，参数是map$(”img”).attr(”src”,”test.jpg”); 给某个元素添加属性/值$(”img”).at]]></description><category></category></item><item><title><![CDATA[System.Threading]]></title><link>https://blog.youkuaiyun.com/cattei/article/details/5262761</link><guid>https://blog.youkuaiyun.com/cattei/article/details/5262761</guid><author>cattei</author><pubDate>Wed, 27 Jan 2010 18:49:00 +0800</pubDate><description><![CDATA[pub void function_thread{            Thread UserCreateThread = new Thread(new ParameterizedThreadStart(function_name));            string[] temp = { createnumber.ToString(), GroupName, gparentid.T]]></description><category></category></item><item><title><![CDATA[C# and VB .NET Libraries to Digg, Flickr, Facebook, YouTube, Twitter, Live Services, Google and other Web 2.0 APIs （调用Digg、Flick]]></title><link>https://blog.youkuaiyun.com/cattei/article/details/5260841</link><guid>https://blog.youkuaiyun.com/cattei/article/details/5260841</guid><author>cattei</author><pubDate>Wed, 27 Jan 2010 11:30:00 +0800</pubDate><description><![CDATA[Someone emailed me recently saying that they couldn’t find enough examples in .NET for talking to the recent proliferation of “Web 2.0 APIs” so I thought I’d put together a list and look at some sou]]></description><category></category></item></channel></rss>