<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/thcjp" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/thcjp" type="application/rss+xml"></fs:self_link><lastBuildDate>Fri, 18 Jan 2008 11:33:00 GMT</lastBuildDate><title>天轰穿.net/vs2005/ajax入门</title><description>为中国的计算机行业贡献自己的一点微薄之力!</description><link>http://blog.csdn.net/thcjp/</link><item><title>2008大动作【助学募捐活动】-凡支持我的朋友都请-走过路过千万别错过</title><link>http://blog.csdn.net/thcjp/archive/2008/01/18/2051044.aspx</link><wfw:comment>http://blog.csdn.net/thcjp/comments/2051044.aspx</wfw:comment><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/thcjp/comments/commentRss/2051044.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2051044</trackback:ping><description>首先，我想做一个 助学募捐 的系列教程，也就是我前面提到过的那个系列实际项目，这个系列的教程我计划是这样的，价格为 0 - X 元（简单说，你可以免费看，给钱的话无上限），而该系列所得的全部的钱将捐赠给特困山区的小学（钱少给小学）或者中学（钱多给中学）。&lt;img src =&quot;http://blog.csdn.net/thcjp/aggbug/2051044.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 18 Jan 2008 19:33:00 +0800</pubDate><author>天轰穿</author><comments>http://blog.csdn.net/thcjp/archive/2008/01/18/2051044.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/thcjp/archive/2008/01/18/2051044.aspx</guid><dc:creator>天轰穿</dc:creator></item><item><title>寻创业投资100万以上</title><link>http://blog.csdn.net/thcjp/archive/2007/09/16/1787480.aspx</link><wfw:comment>http://blog.csdn.net/thcjp/comments/1787480.aspx</wfw:comment><slash:comments>3</slash:comments><wfw:commentRss>http://blog.csdn.net/thcjp/comments/commentRss/1787480.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1787480</trackback:ping><description>无论风投还是天使投资,无论是专业投资集团还是个人投资,都可以,首先我需要100万的启动资金,后续每段计划开始可能还需要上百万的投资,当然,如果中途没有强劲的对手的话,基本上100万就足够我们在启动后的一年时间内实现收支平衡,我的计划大体如下,有意向的话,请和我联系,还有请所有支持我的朋友也帮我关心下这个事,我不敢说能够酬谢多少,但是我的人品大家应该还是信得过,该怎么谢我尽量让大家都满意.
&lt;img src =&quot;http://blog.csdn.net/thcjp/aggbug/1787480.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 17 Sep 2007 05:25:00 +0800</pubDate><author>天轰穿</author><comments>http://blog.csdn.net/thcjp/archive/2007/09/16/1787480.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/thcjp/archive/2007/09/16/1787480.aspx</guid><dc:creator>天轰穿</dc:creator></item><item><title>vs2005入门 .Net2.0视频教程 之 利用DataSet操作XML[视频]</title><link>http://blog.csdn.net/thcjp/archive/2007/03/28/1543418.aspx</link><wfw:comment>http://blog.csdn.net/thcjp/comments/1543418.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/thcjp/comments/commentRss/1543418.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1543418</trackback:ping><description>一个简单的广告管理系统。&lt;img src =&quot;http://blog.csdn.net/thcjp/aggbug/1543418.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 28 Mar 2007 08:17:00 +0800</pubDate><author>天轰穿</author><comments>http://blog.csdn.net/thcjp/archive/2007/03/28/1543418.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/thcjp/archive/2007/03/28/1543418.aspx</guid><dc:creator>天轰穿</dc:creator></item><item><title>vs2005入门 之 第三章小结测试[视频]</title><link>http://blog.csdn.net/thcjp/archive/2006/09/12/1214310.aspx</link><wfw:comment>http://blog.csdn.net/thcjp/comments/1214310.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/thcjp/comments/commentRss/1214310.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1214310</trackback:ping><description>在每节课中抽了一个问题!&lt;img src =&quot;http://blog.csdn.net/thcjp/aggbug/1214310.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 13 Sep 2006 03:48:00 +0800</pubDate><author>天轰穿</author><comments>http://blog.csdn.net/thcjp/archive/2006/09/12/1214310.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/thcjp/archive/2006/09/12/1214310.aspx</guid><dc:creator>天轰穿</dc:creator></item><item><title>vs2005入门 之 状态处理(Application,Seeeion,Cookie) [视频]</title><link>http://blog.csdn.net/thcjp/archive/2006/09/12/1214289.aspx</link><wfw:comment>http://blog.csdn.net/thcjp/comments/1214289.aspx</wfw:comment><slash:comments>3</slash:comments><wfw:commentRss>http://blog.csdn.net/thcjp/comments/commentRss/1214289.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1214289</trackback:ping><description>这节我们讲状态管理Application,和Session以及Cookie,

Application利用他建立的变量,将是在系统内部任何地方都可以访问的.通常网站的访问统计会用得比较多.要用他的话,我们得先在系统(不是WIN系统哈)中建立一个global.asa文件,事实上Session也是使用的这个文件.

Application是一个共享的对象,当程序开始运行他就建立了,一直持续到程序关闭,他的变量是共享的,所有操作这个程序的人都可以使用,那么这就有麻烦了,如果两个人同时给了他修改变量的命令,他该听谁的呢?所以,这里我们就使用了 悲观的锁定,每一次变量被操作的时候,都使用 Lock 来锁定他,当操作完再 解锁 UnLock .

下面我们利用他建立一个 访问统计

那Session就不同了,这个是在每个人进到程序的时候就建立Session对象,也就是说,Application只有一个,而Session是有多少人用就有多少个,Session是不共享的,当这个人退出程序的时候该对象在系统默认的20分钟后被销毁,当然.我们可以认为的去改变这个时间.如果这个人在规定的时间&lt;img src =&quot;http://blog.csdn.net/thcjp/aggbug/1214289.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 13 Sep 2006 03:43:00 +0800</pubDate><author>天轰穿</author><comments>http://blog.csdn.net/thcjp/archive/2006/09/12/1214289.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/thcjp/archive/2006/09/12/1214289.aspx</guid><dc:creator>天轰穿</dc:creator></item><item><title>Visual Studio 2005入门 之 核心对象[二](Response，server) [视频]</title><link>http://blog.csdn.net/thcjp/archive/2006/09/12/1214277.aspx</link><wfw:comment>http://blog.csdn.net/thcjp/comments/1214277.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/thcjp/comments/commentRss/1214277.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1214277</trackback:ping><description>上节课我们讲了Request,接下来我们肯定是该讲下他老婆 Response,上回书说Request主要是得到信息.那么这次我们就得说下Response的输出数据,当然她可不只会输出数据,她还会让页面转向,还可以添加自定义的日志记录.

别急,概念虽然很枯燥咧.但是还是得讲,我也会尽量让他显得不有趣点.
首先我们要知道Response来至HTTPResponse这个类，他主要是用于回应客户端，告诉浏览器回应内容的报头，服务器端的信息以及输出指定的内容。

ContentType,他主要描述内容类型的字符串，此字符串的格式为  type/subtype  前者表示内容分类，后者表示特定内容类型。他可以设置或者获取数据类型，默认值为 text/html.
例如   Response.ContentType = &quot;image/gif&quot;;   表示输出gif格式图象

Response.Clear();
这个方法用于删除所有存在缓冲区里的HTML输出，但是他只删除预备输出的那些，并不删除Response头信息

Response.ClearHeaders（）：这个只删除头&lt;img src =&quot;http://blog.csdn.net/thcjp/aggbug/1214277.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 13 Sep 2006 03:39:00 +0800</pubDate><author>天轰穿</author><comments>http://blog.csdn.net/thcjp/archive/2006/09/12/1214277.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/thcjp/archive/2006/09/12/1214277.aspx</guid><dc:creator>天轰穿</dc:creator></item><item><title>Visual Studio 2005入门 之 核心对象 (一 Request) [视频]</title><link>http://blog.csdn.net/thcjp/archive/2006/09/11/1209722.aspx</link><wfw:comment>http://blog.csdn.net/thcjp/comments/1209722.aspx</wfw:comment><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/thcjp/comments/commentRss/1209722.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1209722</trackback:ping><description>首先我们得知道，Request派生自HttpRequest类,他上班主要做的事就是从客户端获取信息,包括浏览器的种类,用户输入表单中的数据,Cookies中的数据和客户端认证等,说起来他工作挺忙的!可怜的兄弟,就冲他这么勤快,我们就更应该搞清楚他到底做那些,怎么做,以便给他铺就一条金光大道,别老出错，会被BOSS骂的!还要扣奖金!最可怜的是MM都没得泡哦!对了,他还有个老婆,叫Response,她负责处理家务,把Request拿回来的东西分类处理，真是月老难得做对几次中最正确的一次了。

多的我们也不赘述，说下他最主要的，其他的希望大家能够举一反三的去做一下，做人呢要多尝试，我们每次编写的程序都有不同，需求也不同，所以用法也不会一样，只有你熟练的使用他了，自然就OK了！

下面看一个，获取表单（我们讲这个例题是假设你对HTML比较熟练）
首先，我们知道表单的提交方式有 GET 和 Post两种！
前者的形式是 http://aaa.com/bb.aspx?xxx=value&amp;yyy=value
后者就不那么直观了，他的数据会放在浏览器请求的HTTP标头中返回服务器

&lt;img src =&quot;http://blog.csdn.net/thcjp/aggbug/1209722.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Tue, 12 Sep 2006 03:56:00 +0800</pubDate><author>天轰穿</author><comments>http://blog.csdn.net/thcjp/archive/2006/09/11/1209722.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/thcjp/archive/2006/09/11/1209722.aspx</guid><dc:creator>天轰穿</dc:creator></item><item><title>vs2005入门 之 重载函数\方法以及运算符重载[视频]</title><link>http://blog.csdn.net/thcjp/archive/2006/09/11/1209716.aspx</link><wfw:comment>http://blog.csdn.net/thcjp/comments/1209716.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/thcjp/comments/commentRss/1209716.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1209716</trackback:ping><description>这一节是我录制得最郁闷的一节

内容也比较多,而且文件也罕见的超过了4M ,所以下载肯定比较慢,请忍耐下了!!!&lt;img src =&quot;http://blog.csdn.net/thcjp/aggbug/1209716.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Tue, 12 Sep 2006 03:54:00 +0800</pubDate><author>天轰穿</author><comments>http://blog.csdn.net/thcjp/archive/2006/09/11/1209716.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/thcjp/archive/2006/09/11/1209716.aspx</guid><dc:creator>天轰穿</dc:creator></item><item><title>Visual Studio 2005入门 之 利用构造函数初始化对象[视频]</title><link>http://blog.csdn.net/thcjp/archive/2006/09/09/1200434.aspx</link><wfw:comment>http://blog.csdn.net/thcjp/comments/1200434.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/thcjp/comments/commentRss/1200434.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1200434</trackback:ping><description>上节课我们讲解了怎么定义一个类,并且创建该类的对象,以及使用对象.因为我们使用的例题本来就不复杂,所以在使用对象的时候也没觉得麻烦，可是我们不可能总是做很简单的东西，在稍微复杂点的系统编码中可能遇上经常要定义在任何时候都需要有恰当定义值的对象属性，那么就涉及到本节课的内容,利用 构造函数初始化对象

构造函数是在创建给定类型的对象时执行的类方法。构造函数具有与类相同的名称，它通常初始化新对象的数据成员。
不带参数的构造函数称为“默认构造函数”。无论何时，只要使用 new 运算符实例化对象，并且不为 new 提供任何参数，就会调用默认构造函数。

废话少说，我们来看一个例题，假设我们为书店建立一个在线销售的系统

大家看了上面我们的例题有何感想？是不是觉得这样做很不爽？因为我们想再添加书怎么办？难道书店就只卖我天轰穿的书?我倒是希望，可还得考虑人家的活路萨，所以，我们得改下，很简单的，上面我们说了，不带参数的构造函数叫默认构造函数，那意思就是说我们还可以带一个参数哦。答对了，加10分，看我们从新来构造这个家伙

记住，构造函数中的所有代码都会在创建新对象的时候执行

&lt;img src =&quot;http://blog.csdn.net/thcjp/aggbug/1200434.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sun, 10 Sep 2006 07:07:00 +0800</pubDate><author>天轰穿</author><comments>http://blog.csdn.net/thcjp/archive/2006/09/09/1200434.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/thcjp/archive/2006/09/09/1200434.aspx</guid><dc:creator>天轰穿</dc:creator></item><item><title>vs2005入门 之 定义类、创建及使用对象</title><link>http://blog.csdn.net/thcjp/archive/2006/09/08/1196063.aspx</link><wfw:comment>http://blog.csdn.net/thcjp/comments/1196063.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/thcjp/comments/commentRss/1196063.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1196063</trackback:ping><description>上节课我们废话了一整节的课讲了对象的概念，我们也说了他的优点，可怎么创建对象呢？那么我们下面就来说下怎么创建对象！

上回书说到我们要创建对象，就得先给对象拟定一个规划图，也就是定义一个类，在定义的时候必须说明这个类的对象们是怎么工作，有什么特征，包括内部和外部的，这里就是要你真的明白钢铁是怎么炼成的了。

怎么样，被吓倒了吧？不用怕，有川哥在（我带老婆逛鬼城的时候常这样说的，哈哈）！！

其实呢定义类是很简单的了，还记得前面几节课我们讲定义变量和函数没？差不多的了，事实上变量和函数在类中有很大的势力（好在不是黑势力），他们掌管了定义方法和属性的关卡。那，下面我们就来定义一个看下了


类或者对象中的元素，我们统称为 成员，他们的全称是私有实例数据成员，成员表示数据，并且在类的每一实例中是私有的。
假设在同一类的两个实例中，数据成员有相同的值，那么我们说这两个对象之间有相同的状态。

命名规则：
1。在成员命名规则上我们一般采用 首字母小写，每个单词的首字母大写例如   carColor
2。属性的命名规则是 ：首字母大写  例如 Color 

存取器&lt;img src =&quot;http://blog.csdn.net/thcjp/aggbug/1196063.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sat, 09 Sep 2006 03:14:00 +0800</pubDate><author>天轰穿</author><comments>http://blog.csdn.net/thcjp/archive/2006/09/08/1196063.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/thcjp/archive/2006/09/08/1196063.aspx</guid><dc:creator>天轰穿</dc:creator></item></channel></rss>