<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>

<title><![CDATA[Freetao's Blog ♥ 郭涛]]></title>
<link>http://o.kainy.cn/PJ/</link>
<description><![CDATA[关心生活，关注互联网。什么都可以不对，但方向不能错！]]></description>
<language>zh-cn</language>
<copyright><![CDATA[Copyright 2009 www.Kainy.cn]]></copyright>
<webMaster><![CDATA[admin@Kainy.CN(Freetao's Blog ♥ 郭涛)]]></webMaster>
<generator>Freetao's Blog ♥ Kainy.CN</generator> 
<image>
	<title>Freetao&#39;s Blog ♥ 郭涛</title> 
	<url>http://o.kainy.cn/PJ/images/logos.gif</url> 
	<link>http://o.kainy.cn/PJ/</link> 
	<description>Freetao&#39;s Blog ♥ 郭涛</description> 
</image>

			<item>
			<link>http://o.kainy.cn/PJ/?id=985</link>
			<title><![CDATA[ASP使用ODBC连接SQL Server 2000数据库]]></title>
			<author>www.Kainy.cn(Freetao's Blog ♥ 郭涛)</author>
			<category><![CDATA[网海拾贝]]></category>
			<pubDate>Thu,16 Dec 2010 19:13:14 +0800</pubDate>
			<guid>http://o.kainy.cn/PJ/article/985.htm</guid>
			<description><![CDATA[<p>&nbsp;<span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 14px; color: rgb(51, 51, 51); line-height: 25px; ">
<table width="100%" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
    <tbody style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
        <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
            <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">使用ODBC连接SQL Server 2000数据库<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
            ODBC（Open DataBase Connection，开放数据库连接）是微软公司开发的数据库编程接口。应用程序可以通过ODBC和使用SQL（Structured Query Language，结构化查询语言）语言存取不同类型数据库中的数据。ODBC具有平台独立性，可以应用于不同的操作系统平台。</p>
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">ODBC在操作系统上通过ODBC数据源管理器，定义数据源名称DSN（Data Source Name）来存储有关如何连接数据库的信息。一个DSN指定了数据库的物理位置、用于访问数据库的驱动程序类型和访问数据库驱动程序所需要的其他参数。</p>
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">数据源名称DSN有3种类型。</p>
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;&nbsp;&nbsp; 用户DSN：将配置的信息存储在系统的注册表中，需要使用适当的安全身份证明访问连接的数据库。</p>
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;&nbsp;&nbsp; 系统DSN：将配置的信息存储在系统的注册表中，允许所有用户访问连接的数据库。</p>
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;&nbsp;&nbsp; 文件DSN：可以通过复制DSN文件，将配置信息从一个服务器转移到另一个服务器。</p>
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">下面以Windows 2003操作系统为例，介绍在ODBC数据源管理器中配置系统DSN连接指定的数据库。具体操作步骤如下：</p>
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">（1）单击&ldquo;开始&rdquo;按钮，选择&ldquo;程序&rdquo;&rarr;&ldquo;管理工具&rdquo;&rarr;&ldquo;数据源（ODBC）&rdquo;命令，打开&ldquo;ODBC数据源管理器&rdquo;对话框，选择&ldquo;系统DSN&rdquo;选项卡，如图1示。</p>
            <div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;</p>
            <center style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><a target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 102, 204); text-decoration: none; " href="http://www.im80hou.com/uploads/090708/2_140514_1.png"><img height="373" alt="" width="461" border="0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " src="http://www.im80hou.com/uploads/090708/2_140514_1.png" /></a><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
            图片1<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
            </center>（2）单击&ldquo;添加&rdquo;按钮，打开&ldquo;创建新数据源&rdquo;对话框，选择安装数据源的驱动程序，这里选择&ldquo;SQL Server&rdquo;选项，如图2所示。
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;</p>
            <div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><center style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><a target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 102, 204); text-decoration: none; " href="http://www.im80hou.com/uploads/090708/2_140545_1.png"><img height="340" alt="" width="468" border="0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " src="http://www.im80hou.com/uploads/090708/2_140545_1.png" /></a><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
            图片2<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
            </center>（3）单击&ldquo;完成&rdquo;按钮，打开&ldquo;创建到SQL Server的新数据源&rdquo;对话框，在&ldquo;名称&rdquo;文本框中设置数据源名称为&ldquo;TestDSN&rdquo;，在&ldquo;描述&rdquo;文本框设置数据源描述为&ldquo;定义系统DSN&rdquo;，在&ldquo;服务器&rdquo;下拉列表框中选择连接的数据库所在服务器为&ldquo;（local）&rdquo;，如图3所示。</div>
            <div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">（4）单击&ldquo;下一步&rdquo;按钮，选择&ldquo;使用用户输入登录ID和密码的SQL Server验证&rdquo;单选按钮，在&ldquo;登录ID&rdquo;文本框中输入SQL Server用户登录ID，这里为&ldquo;sa&rdquo;，在&ldquo;密码&rdquo;文本框中输入SQL Server用户登录密码，这里为空密码，如图4所示。<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
            &nbsp;</div>
            <div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;</p>
            <center style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><a target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 102, 204); text-decoration: none; " href="http://www.im80hou.com/uploads/090708/2_140615_1.png"><img height="349" alt="" width="510" border="0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " src="http://www.im80hou.com/uploads/090708/2_140615_1.png" /></a><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
            图片3<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
            </center>
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;</p>
            <div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;</p>
            <center style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><a target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 102, 204); text-decoration: none; " href="http://www.im80hou.com/uploads/090708/2_140641_1.png"><img height="349" alt="" width="510" border="0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " src="http://www.im80hou.com/uploads/090708/2_140641_1.png" /></a><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
            图片4<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
            </center>（5）单击&ldquo;下一步&rdquo;按钮，选择&ldquo;更改默认的数据库为&rdquo;复选框，并在其下拉列表框中选择连接的数据库名称，这里选择&ldquo;TestDB&rdquo;选项，如图5所示，单击&ldquo;下一步&rdquo;按钮。
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;</p>
            <div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;</p>
            <center style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><a target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 102, 204); text-decoration: none; " href="http://www.im80hou.com/uploads/090708/2_140720_1.png"><img height="349" alt="" width="510" border="0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " src="http://www.im80hou.com/uploads/090708/2_140720_1.png" /></a><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
            图片5<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
            </center>
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;</p>
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">（6）单击&ldquo;完成&rdquo;按钮，打开&ldquo;ODBC Microsoft SQL Server安装&rdquo;对话框，显示新创建的ODBC数据源配置信息，如图6所示。</p>
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">（7）单击&ldquo;测试数据源&rdquo;按钮测试数据库连接是否成功，数据源配置成功将打开&ldquo;SQL Server ODBC数据源测试&rdquo;对话框，如图7所示，单击&ldquo;确定&rdquo;按钮，返回到&ldquo;ODBC Microsoft SQL Server安装&rdquo;对话框。<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
            &nbsp;</p>
            <div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;</p>
            <center style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><a target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 102, 204); text-decoration: none; " href="http://www.im80hou.com/uploads/090708/2_141224_1.png"><img height="352" alt="" width="368" border="0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " src="http://www.im80hou.com/uploads/090708/2_141224_1.png" /></a><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
            图片6<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
            </center>（8）单击&ldquo;确定&rdquo;按钮，返回到&ldquo;ODBC数据源管理器&rdquo;对话框，完成数据源配置，如图8所示。
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;</p>
            <div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;</p>
            <center style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><a target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 102, 204); text-decoration: none; " href="http://www.im80hou.com/uploads/090708/2_141301_1.png"><img height="373" alt="" width="461" border="0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; " src="http://www.im80hou.com/uploads/090708/2_141301_1.png" /></a><br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
            图片7<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
            </center>配置系统DSN后，ASP使用ADO通过DSN对SQL Server 2000数据库进行访问，语法如下：
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;</p>
            <table cellspacing="1" cellpadding="1" width="600" border="1" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
                <tbody style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
                    <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
                        <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
                        <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&lt;%</p>
                        <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;&nbsp;&nbsp; Dim Conn</p>
                        <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;&nbsp;&nbsp; Set Conn=Server.CreateObject(&quot;ADODB.Connection&quot;)&nbsp; '创建名为Conn的Connection对象</p>
                        <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;&nbsp;&nbsp; Conn.Connectionstring=&quot;DSN=DSN;UID=userid;PWD=password;&quot;&nbsp; '定义连接数据库字符串,赋给Connection对象的ConnectionString属性</p>
                        <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;&nbsp;&nbsp; Conn.Open '建立连接</p>
                        <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">%&gt;</p>
                        </td>
                    </tr>
                </tbody>
            </table>
            </div>
            </div>
            </div>
            </div>
            </div>
            </div>
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">ADO通过其Connection对象的Connectionstring属性和Open方法建立数据库连接。</p>
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">参数说明：</p>
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;&nbsp;&nbsp; DSN：在&ldquo;ODBC数据源管理器&rdquo;中配置的数据源名称。</p>
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;&nbsp;&nbsp; UID：访问SQL Server数据库使用的用户名称。</p>
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;&nbsp;&nbsp; PWD：访问SQL Server数据库使用的用户口令。</p>
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">下面先配置一个名为&ldquo;TestDSN&rdquo;的ODBC数据源，然后使用数据源连接SQL Server 2000数据库。程序代码如下：</p>
            <table cellspacing="1" cellpadding="1" width="600" border="1" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
                <tbody style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
                    <tr style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
                        <td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
                        <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&lt;%</p>
                        <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;&nbsp;&nbsp; Dim Conn</p>
                        <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;&nbsp;&nbsp; Set Conn=Server.CreateObject(&quot;ADODB.Connection&quot;)&nbsp; '创建名为Conn的Connection对象</p>
                        <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;&nbsp;&nbsp; Conn.Connectionstring=&quot;DSN=TestDSN;UID=sa;PWD=;&quot;&nbsp; '定义连接数据库字符串,赋给Connection对象的ConnectionString属性</p>
                        <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;&nbsp;&nbsp; Conn.Open '建立连接</p>
                        <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">%&gt;</p>
                        </td>
                    </tr>
                </tbody>
            </table>
            <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">原文：<a href="http://www.im80hou.com/html/sqlserver/2009/0708/663.html">http://www.im80hou.com/html/sqlserver/2009/0708/663.html</a>&nbsp;.</p>
            </td>
        </tr>
    </tbody>
</table>
</span></p><p>&nbsp;</p><p style="color:#aaa;"><p>…… ……<strong>（更多内容请到原文查看.）</strong></p><br /><br /><br /><br /><br /><br />目前尚无评论 | <a target="_blank" href="http://o.kainy.cn/PJ/article/985.htm#comm_top" title="前往发表评论" style="color:#aaa;">我要评论</a></p>]]></description>
		</item>
		
			<item>
			<link>http://o.kainy.cn/PJ/?id=984</link>
			<title><![CDATA[XP 下IIS 500错误真正完美的解决方法]]></title>
			<author>www.Kainy.cn(Freetao's Blog ♥ 郭涛)</author>
			<category><![CDATA[网海拾贝]]></category>
			<pubDate>Wed,15 Dec 2010 20:26:57 +0800</pubDate>
			<guid>http://o.kainy.cn/PJ/article/984.htm</guid>
			<description><![CDATA[<p>&nbsp;<span class="Apple-style-span" style="font-family: Georgia, 'Courier New', 宋体; color: rgb(114, 114, 114); line-height: 18px; ">可以说，XP下的IIS 500 错误是个老大难问题，我找了很久的资料也不能解决，网上流行一篇文章大概是教同步IIS用户密码（文章见：<a target="_blank" rel="external" style="text-decoration: none; color: rgb(224, 0, 0); " href="http://hi.baidu.com/icancn/blog/item/d4a9fded9c31214f78f055c3.html">http://hi.baidu.com/icancn/blog/item/d4a9fded9c31214f78f055c3.html</a>），可以说，这篇文章介绍得很模糊，我个人按照上面做，并不能解决问题，而且这篇文章介绍的操作方法很复杂，让人我这个学计算机专业的人都晕死！<br />
<br />
好吧，今天高兴！终于把这个问题解决了，告诉大家我的方法，本blog原创哦转载请注明coogg.com首发！</span></p>
<div style="page-break-after: always; "><span style="DISPLAY:none">&nbsp;</span></div>
<p><span class="Apple-style-span" style="font-family: Georgia, 'Courier New', 宋体; color: rgb(114, 114, 114); line-height: 18px; "><br />
<br />
请先确保以下服务为启动状态，启动类型为自动</span></p>
<p><span class="Apple-style-span" style="font-family: Georgia, 'Courier New', 宋体; color: rgb(114, 114, 114); line-height: 18px; "><br />
<br />
COM+ Event System<br />
COM+ System Application<br />
<br />
进入 控制面板，进入管理工具 &mdash;&mdash; 组件服务 控制台根目录 &mdash;&mdash; 组件服务 &mdash;&mdash; 计算机 &mdash;&mdash; 我的电脑 &mdash;&mdash; COM+应用程序 ，找到 IIS Out-Of-Process Pooled Applications 鼠标右键 属性 &mdash;&mdash; 标识 &mdash;&mdash; 把&ldquo;下列用户&rdquo;调整为&ldquo;系统用户-交互式用户-当前已登录的用户&rdquo;。然后点&ldquo;确定&rdquo;，再鼠标右键&ldquo;属性&rdquo;--&ldquo;启动&rdquo;<br />
<br />
<span style="color: green; ">&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;</span><br />
此时，IIS500问题理论上已经完美解决了，但也许你会碰到各种各样问题&hellip;&hellip;<br />
<br />
如果打开 COM+应用程序 出现错误怎么办？<br />
<br />
请确保Distributed Transaction Coordinator服务为启动状态，启动类型为自动<br />
<br />
如果在开启Distributed Transaction Coordinator服务时出错，那么请确保以下两个服务已启动，启动类型为自动。<br />
<br />
Remote Procedure Call (RPC)<br />
Security Accounts Manager<br />
<br />
然后在 运行 或 cmd命令提示符 下输入msdtc -resetlog 回车<br />
<br />
即可启动Distributed Transaction Coordinator服务<br />
<br />
这时打开COM+应用程序已经没有问题了。<br />
<br />
<br />
如果在COM+应用程序中找不到IIS Out-Of-Process Pooled Applications怎么办？<br />
<br />
很简单，首先打开 cmd命令提示符<br />
<br />
依次用cd命令进入X:\WINDOWS\system32\inetsrv&nbsp;&nbsp;（X为你的系统盘）<br />
<br />
然后输入命令：<br />
<br />
rundll32 wamreg.dll, CreateIISPackage 回车&nbsp;&nbsp;（CreateIISPackage注意区分大小写！）<br />
<br />
regsvr32 asptxn.dll 回车<br />
<br />
好了，这时IIS Out-Of-Process Pooled Applications已经能找到。<br />
</span></p>
<p>原文：<a href="http://www.coogg.com/article.asp?id=494">http://www.coogg.com/article.asp?id=494</a>&nbsp;.</p><p>&nbsp;</p><p style="color:#aaa;"><p>…… ……<strong>（更多内容请到原文查看.）</strong></p><br /><br /><br /><br /><br /><br />目前尚无评论 | <a target="_blank" href="http://o.kainy.cn/PJ/article/984.htm#comm_top" title="前往发表评论" style="color:#aaa;">我要评论</a></p>]]></description>
		</item>
		
			<item>
			<link>http://o.kainy.cn/PJ/?id=982</link>
			<title><![CDATA[如何更好地使用代理服务器（VPN/SSH代理针对性启用）]]></title>
			<author>www.Kainy.cn(Freetao's Blog ♥ 郭涛)</author>
			<category><![CDATA[小菜教程]]></category>
			<pubDate>Thu,24 Jun 2010 18:19:07 +0800</pubDate>
			<guid>http://o.kainy.cn/PJ/article/982.htm</guid>
			<description><![CDATA[<div style="text-align: center;"><font class="Apple-style-span" color="#D54E21" face="Arial, Helvetica, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 16px; line-height: 16px; text-transform: uppercase;"><b><span class="Apple-style-span" style="color: rgb(85, 85, 85); font-family: Arial, Verdana, sans-serif; font-weight: normal; line-height: normal; text-transform: none; font-size: 12px; ">
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 20px; text-indent: 2em; text-align: left; ">#VPN<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
VPN还是SSH的选择根据个人情况，本人提供的代理帐号主要是翻墙上网，你习惯使用IE或者Chrome浏览器，推荐使用VPN，Firefox使用者推荐使用SSH。玩国外服游戏应该也没问题，游戏画面都是本地绘制的吧，要不了多少流量，玩游戏应该选择VPN。</p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 20px; text-indent: 2em; text-align: left; ">如果你选择了VPN，那么这里再介绍给你一个区分国内外网站的路由设置脚本，可以到：<a href="http://code.google.com/p/chnroutes/" target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 2px; padding-bottom: 0px; padding-left: 2px; color: rgb(37, 131, 173); text-decoration: underline; outline-style: none; outline-width: initial; outline-color: initial; ">http://code.google.com/p/chnroutes/</a>下载。在启用VPN连接前运行一下脚本就可以设置对国内网站不使用VPN代理，达到快速访问的目的。直接下载（<a href="http://chnroutes.googlecode.com/files/vpnup.bat" target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 2px; padding-bottom: 0px; padding-left: 2px; color: rgb(37, 131, 173); text-decoration: underline; outline-style: none; outline-width: initial; outline-color: initial; ">vpnup.bat</a>&nbsp;/&nbsp;<a href="http://chnroutes.googlecode.com/files/vpndown.bat" target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 2px; padding-bottom: 0px; padding-left: 2px; color: rgb(37, 131, 173); text-decoration: underline; outline-style: none; outline-width: initial; outline-color: initial; ">vpndown.bat</a>）</p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 20px; text-indent: 2em; text-align: left; ">具体操作：<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
1）运行<a href="http://chnroutes.googlecode.com/files/vpnup.bat" target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 2px; padding-bottom: 0px; padding-left: 2px; color: rgb(37, 131, 173); text-decoration: underline; outline-style: none; outline-width: initial; outline-color: initial; ">vpnup.bat</a>，脚本设置好路由表后自动退出；<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
2）启用VPN连接；<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
3）不再使用VPN连接，可运行<a href="http://chnroutes.googlecode.com/files/vpndown.bat" target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 2px; padding-bottom: 0px; padding-left: 2px; color: rgb(37, 131, 173); text-decoration: underline; outline-style: none; outline-width: initial; outline-color: initial; ">vpndown.bat</a>恢复默认的路由规则。如果没感觉影响，这个步骤可以省略。</p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 20px; text-indent: 2em; text-align: left; ">这样你再访问<a href="http://ip.cn/" target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 2px; padding-bottom: 0px; padding-left: 2px; color: rgb(37, 131, 173); text-decoration: underline; outline-style: none; outline-width: initial; outline-color: initial; ">http://ip.cn</a>和<a href="http://whatismyipaddress.com/" target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 2px; padding-bottom: 0px; padding-left: 2px; color: rgb(37, 131, 173); text-decoration: underline; outline-style: none; outline-width: initial; outline-color: initial; ">http://whatismyipaddress.com</a>，看到不同的IP地址即可确认路由设置生效。对QQ用户而言，以上方法不会因为使用国外VPN代理而让QQ出国掉线。</p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 20px; text-indent: 2em; text-align: left; ">#SSH<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
使用Firefox浏览器，推荐使用<a href="https://addons.mozilla.org/zh-CN/firefox/addon/11009" target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 2px; padding-bottom: 0px; padding-left: 2px; color: rgb(37, 131, 173); text-decoration: underline; outline-style: none; outline-width: initial; outline-color: initial; ">AutoProxy</a>针对在中国被屏蔽的网站启用代理。Adblock和NoScript过滤广告效果也很不错，也能达到节省流量快速访问网络的目的。</p>
<p style="margin-top: 15px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 20px; text-indent: 2em; text-align: left; ">安装<a href="https://addons.mozilla.org/zh-CN/firefox/addon/11009" target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 2px; padding-bottom: 0px; padding-left: 2px; color: rgb(37, 131, 173); text-decoration: underline; outline-style: none; outline-width: initial; outline-color: initial; ">AutoProxy</a>后选择配置为SSH -D即可。SSH连接推荐用<a href="http://dl.dropbox.com/u/151075/PuTTY%2BPlink%2BSSH.bat.rar" target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 2px; padding-bottom: 0px; padding-left: 2px; color: rgb(37, 131, 173); text-decoration: underline; outline-style: none; outline-width: initial; outline-color: initial; ">PuTTY+Plink+SSH连接脚本</a>的组合，下载组合包后把SSH帐号信息填入bat脚本中即可一键连接。</p>
</span></b></span></font></div><p>&nbsp;</p><p style="color:#aaa;"><p>…… ……<strong>（更多内容请到原文查看.）</strong></p><br /><br /><br /><br /><br /><br />目前尚无评论 | <a target="_blank" href="http://o.kainy.cn/PJ/article/982.htm#comm_top" title="前往发表评论" style="color:#aaa;">我要评论</a></p>]]></description>
		</item>
		
			<item>
			<link>http://o.kainy.cn/PJ/?id=981</link>
			<title><![CDATA[安全去除godaddy广告的方法]]></title>
			<author>www.Kainy.cn(Freetao's Blog ♥ 郭涛)</author>
			<category><![CDATA[小菜教程]]></category>
			<pubDate>Tue,22 Jun 2010 20:17:57 +0800</pubDate>
			<guid>http://o.kainy.cn/PJ/article/981.htm</guid>
			<description><![CDATA[<p>&nbsp;&nbsp;<span class="Apple-style-span" style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', 宋体, Arial, Verdana, sans-serif; color: rgb(57, 57, 57); line-height: 20px; ">我这里介绍的去除godaddy广告的方法，不是真的移除godaddy的广告，而是将godaddy的广告隐藏起来，不是哪种在尾部加&lt;script&gt;。
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 10px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; ">我也是网上查的，有人说用CSS把body标签上移90个像素，这方法是有效，不过每次用户打开页面的时候都会让页面闪一下，这实会让用户感到很不舒服，体验非常不好。</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 10px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; ">经过仔细研究和试验，我总结出来一种方法，也是用CSS，原理是godaddy插入的<br />
广告是用javascript生成一个&nbsp;iframe，我们只需要将这个iframe用css设置为不可<br />
见即可，iframe都会有一个id, 个ID的名字是固定的叫&ldquo;conash3D0&rdquo;，只需要在<br />
页面的header中加入这段html代码即可有效屏蔽广告，而且无刷屏：</p>
</span></p><p>&nbsp;</p><p style="color:#aaa;"><p>…… ……<strong>（更多内容请到原文查看.）</strong></p><br /><br /><br /><br /><br /><br />目前尚无评论 | <a target="_blank" href="http://o.kainy.cn/PJ/article/981.htm#comm_top" title="前往发表评论" style="color:#aaa;">我要评论</a></p>]]></description>
		</item>
		
			<item>
			<link>http://o.kainy.cn/PJ/?id=980</link>
			<title><![CDATA[众人皆醉你独醒，全民皆疯而你独清]]></title>
			<author>www.Kainy.cn(Freetao's Blog ♥ 郭涛)</author>
			<category><![CDATA[生活记录]]></category>
			<pubDate>Wed,16 Jun 2010 12:12:21 +0800</pubDate>
			<guid>http://o.kainy.cn/PJ/article/980.htm</guid>
			<description><![CDATA[<p>&nbsp;</p>
<div><span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px; ">
<p mce_style="text-align: center;" style="text-align: center; "><img class="aligncenter" src="http://a.kainy.cn/201006/%E5%85%A8%E6%B0%91%E7%9A%86%E7%96%AF%20%E7%8B%82%E5%A5%94%20%E6%97%A0%E5%A5%88.gif" mce_src="http://a.kainy.cn/201006/%E5%85%A8%E6%B0%91%E7%9A%86%E7%96%AF%20%E7%8B%82%E5%A5%94%20%E6%97%A0%E5%A5%88.gif" alt="" width="162" height="120" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; display: block; margin-left: auto; margin-right: auto; " /></p>
<p mce_style="text-align: left;" style="text-align: left; ">今天是屈原的祭日，也是那句名句的生日。</p>
<p mce_style="text-align: left;" style="text-align: left; ">先来说说上面这张图吧，开始看的时候会觉得有些莫名其妙，挺无聊的是吧。不过仔细想想 那个西装革履的男士，为什么还没搞清&ldquo;情况&rdquo;就开始不知所谓狂奔呢？很简单嘛 事出紧急，容不得他去了解；可是男士面前的人们又是为什么而狂奔呢？看看开始跑在男士右边的最前面的那个穿褂子的男人，这下该明白了吧，人潮中的每一个人都如穿西装的这位男士，他们原本也只是路人甲乙丙，突然看到面前跑来一群人，而又无处避让，所以只好跟着跑啦，不然还等着被踩啊...</p>
</span></div><p>&nbsp;</p><p style="color:#aaa;"><p>…… ……<strong>（更多内容请到原文查看.）</strong></p><br /><br /><br /><br /><br /><br />目前尚无评论 | <a target="_blank" href="http://o.kainy.cn/PJ/article/980.htm#comm_top" title="前往发表评论" style="color:#aaa;">我要评论</a></p>]]></description>
		</item>
		
			<item>
			<link>http://o.kainy.cn/PJ/?id=978</link>
			<title><![CDATA[博客认证乐铺活动验证]]></title>
			<author>www.Kainy.cn(Freetao's Blog ♥ 郭涛)</author>
			<category><![CDATA[小帼关注]]></category>
			<pubDate>Mon,24 May 2010 18:52:14 +0800</pubDate>
			<guid>http://o.kainy.cn/PJ/article/978.htm</guid>
			<description><![CDATA[<p><span class="Apple-style-span" style="font-family: 'lucida Grande', Verdana; font-size: 14px; line-height: 25px; ">&nbsp;.</span><span class="Apple-style-span" style="font-family: Simsun; font-size: 14px; line-height: 21px; ">乐铺活动验证.</span></p><p>&nbsp;</p><p style="color:#aaa;"><p>…… ……<strong>（更多内容请到原文查看.）</strong></p><br /><br /><br /><br /><br /><br />目前尚无评论 | <a target="_blank" href="http://o.kainy.cn/PJ/article/978.htm#comm_top" title="前往发表评论" style="color:#aaa;">我要评论</a></p>]]></description>
		</item>
		
			<item>
			<link>http://o.kainy.cn/PJ/?id=976</link>
			<title><![CDATA[写给新入IT的新人们]]></title>
			<author>www.Kainy.cn(Freetao's Blog ♥ 郭涛)</author>
			<category><![CDATA[网海拾贝]]></category>
			<pubDate>Wed,05 May 2010 20:26:04 +0800</pubDate>
			<guid>http://o.kainy.cn/PJ/article/976.htm</guid>
			<description><![CDATA[<p>&nbsp;&nbsp;<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">　　IT=挨踢，这是IT人的自嘲，进入IT行业是有四五年了，也算得上是一个&ldquo;老人&rdquo;了吧，见了不少新人，面试了不少新人，也带了一些新人，多多少少还是有点发言权的。
<p>　　<strong>关于书本</strong></p>
<p>　　新人们常常会说我看了多少多少的书，看过某某人写的书，仿佛书看了就会做了。其实不然，很多新人在面试的时候夸夸其谈，说啥啥都知道一点，到真正做的时候，啥都不会。归根到底是没有经验，技术这玩意儿经验非常重要，很多东西如果不是你碰到了，你从书上一辈子都找不到答案。</p>
<p>　　我看书的习惯一般都是先把整个书翻翻，了解一下书的基本内容，然后在实际项目中遇到相应的问题再去翻书，当然这是因为我对技术已经有一定的了解，不需要通读整本书。初学者应该找一些适合自己的书，通读一遍，其中的例子要认真做，一定要自己去写代码，而不是Copy。我以前在学做网页的时候，别人都用Dreamweaver去做，只有我打开源代码编辑器学习HTML源代码的编写。</p>
</span></p><p>&nbsp;</p><p style="color:#aaa;"><p>…… ……<strong>（更多内容请到原文查看.）</strong></p><br /><br /><br /><br /><br /><br />目前尚无评论 | <a target="_blank" href="http://o.kainy.cn/PJ/article/976.htm#comm_top" title="前往发表评论" style="color:#aaa;">我要评论</a></p>]]></description>
		</item>
		
			<item>
			<link>http://o.kainy.cn/PJ/?id=975</link>
			<title><![CDATA[Speed up your site with Caching and cache-control]]></title>
			<author>www.Kainy.cn(Freetao's Blog ♥ 郭涛)</author>
			<category><![CDATA[网海拾贝]]></category>
			<pubDate>Wed,05 May 2010 20:23:51 +0800</pubDate>
			<guid>http://o.kainy.cn/PJ/article/975.htm</guid>
			<description><![CDATA[<p>&nbsp;&nbsp;<span class="Apple-style-span" style="color: rgb(73, 73, 73); font-family: simsun; font-size: 14px; line-height: 21px; "><span style="word-wrap: normal; word-break: normal; line-height: 21px; font-weight: bold; ">用缓冲和缓存加快你的网站（Speed up your site with Caching and cache-control）</span><br />
<br />
SEO Redirects without mod_rewriteApache Authentication in htaccess ?<br />
<br />
Caching with .htaccess and Apache will take your website and your web skills to the next level. This is some technical and advanced methods condensed to simple htaccess code examples for you. But you must take the time to understand caching with cache-control and other headers and HTTP options before you implement on a production server.</span></p><p>&nbsp;</p><p style="color:#aaa;"><p>…… ……<strong>（更多内容请到原文查看.）</strong></p><br /><br /><br /><br /><br /><br />目前尚无评论 | <a target="_blank" href="http://o.kainy.cn/PJ/article/975.htm#comm_top" title="前往发表评论" style="color:#aaa;">我要评论</a></p>]]></description>
		</item>
		
			<item>
			<link>http://o.kainy.cn/PJ/?id=974</link>
			<title><![CDATA[中国饭局中的潜规则]]></title>
			<author>www.Kainy.cn(Freetao's Blog ♥ 郭涛)</author>
			<category><![CDATA[网海拾贝]]></category>
			<pubDate>Sat,20 Mar 2010 13:16:01 +0800</pubDate>
			<guid>http://o.kainy.cn/PJ/article/974.htm</guid>
			<description><![CDATA[<p>&nbsp;&nbsp;<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">呵呵，在中国，办事吃饭是常事，但是这样的<b class="highlighted0" style="background-color: rgb(255, 255, 153); ">饭局</b>往往是不好应付的，诸多的潜规则等待你去体味。为了不出丑，呵呵，还是提早学习下为好。<br />
<br />
注意细节<br />
<br />
1&mdash;&mdash;座次<br />
<br />
总的来讲，座次是&ldquo;尚左尊东&rdquo;、&ldquo;面朝大门为尊&rdquo;。若是圆桌，则正对大门的为主客，主客左右手边的位置，则以离主客的距离来看，越靠近主客位置越尊，相同距离则左侧尊于右侧。若为八仙桌，如果有正对大门的座位，则正对大门一侧的右位为主客。如果不正对大门，则面东的一侧右席为首席。<br />
<br />
如果为大宴，桌与桌间的排列讲究首席居前居中，左边依次2、4、6席,右边为3、5、7席，根据主客身份、地位，亲疏分坐。</span></p><p>&nbsp;</p><p style="color:#aaa;"><p>…… ……<strong>（更多内容请到原文查看.）</strong></p><br /><br /><br /><br /><br /><br />目前尚无评论 | <a target="_blank" href="http://o.kainy.cn/PJ/article/974.htm#comm_top" title="前往发表评论" style="color:#aaa;">我要评论</a></p>]]></description>
		</item>
		
			<item>
			<link>http://o.kainy.cn/PJ/?id=971</link>
			<title><![CDATA[独立博客比第三方博客好的几点]]></title>
			<author>www.Kainy.cn(Freetao's Blog ♥ 郭涛)</author>
			<category><![CDATA[网海拾贝]]></category>
			<pubDate>Tue,09 Mar 2010 22:44:30 +0800</pubDate>
			<guid>http://o.kainy.cn/PJ/article/971.htm</guid>
			<description><![CDATA[为讲述方便，在描述独立博客概念的时候，我使用具体的程序Wordpress代替之。因为别的程序不熟悉，而且Wordpress之强大已经足够我说明我的观点。国内的集体博客例子是QQ空间和新浪博客，因为在下阅历颇浅，仅使用过此二种。如果因选择样本错误而推导出了错误的结论，还请不吝批评。&lt;br/&gt;独立博客自由。你不用担心他们会删除掉你的某篇文章，也不用担心自己在发表博文的时候弹出“文章中含有违禁词汇”字样的流氓窗口。他们想干掉你的唯一方法就是整个封掉你——但是既然你都已经瞩目到他们想封掉，那么基本上你就已经封不掉了。&lt;br/&gt;&lt;br/&gt;独立博客安全。你的文章一经发表，就永远存在。只要你安装好自动备份插件，就算你的主机服务商倒掉了，你的辛苦努力最多也就丢一天的量。不会出现没准什么时候，你的文章就被博客服务商干掉了的情况。&lt;br/&gt;<p>&nbsp;</p><p style="color:#aaa;"><p>…… ……<strong>（更多内容请到原文查看.）</strong></p><br /><br /><br /><br /><br /><br />目前尚无评论 | <a target="_blank" href="http://o.kainy.cn/PJ/article/971.htm#comm_top" title="前往发表评论" style="color:#aaa;">我要评论</a></p>]]></description>
		</item>
		
			<item>
			<link>http://o.kainy.cn/PJ/?id=965</link>
			<title><![CDATA[web2.0纪 | 互联网2010]]></title>
			<author>www.Kainy.cn(Freetao's Blog ♥ 郭涛)</author>
			<category><![CDATA[小帼关注]]></category>
			<pubDate>Mon,22 Feb 2010 23:14:46 +0800</pubDate>
			<guid>http://o.kainy.cn/PJ/article/965.htm</guid>
			<description><![CDATA[<p>&nbsp;&nbsp;<span class="Apple-style-span" style="font-family: Verdana; font-size: 14px; line-height: 21px; ">春节过了，也许该好好回顾一下2009年互联网发展的状况，并找到我们自己的发展方向。
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">本文分：页面；通讯；终端爆炸；移动互联网；政治；语言；社区；安全；广告；电子商务；物流；整合者；狩猎者；工具狂人；玩家；云计算；中文搜索；突破极限。18个章节。第一部分包含前九章。</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">第一章：页面<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
页面是我们接触和使用互联网的主要方式，设计师喜欢叫UI，就是界面，或人机交互设计。不管目前的交互模式有多少，是鼠标，键盘，多点触摸，基本都在一个平面内展开。<br style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; " />
最早的互联网不是这样，最早的形态是命令行，今天还有很多人迷恋这样的模式，你输入需</p>
</span></p><p>&nbsp;</p><p style="color:#aaa;"><p>…… ……<strong>（更多内容请到原文查看.）</strong></p><br /><br /><br /><br /><br /><br />目前尚无评论 | <a target="_blank" href="http://o.kainy.cn/PJ/article/965.htm#comm_top" title="前往发表评论" style="color:#aaa;">我要评论</a></p>]]></description>
		</item>
		
			<item>
			<link>http://o.kainy.cn/PJ/?id=964</link>
			<title><![CDATA[如何拥有自己的Gravatar头像？]]></title>
			<author>www.Kainy.cn(Freetao's Blog ♥ 郭涛)</author>
			<category><![CDATA[小菜教程]]></category>
			<pubDate>Tue,16 Feb 2010 21:41:42 +0800</pubDate>
			<guid>http://o.kainy.cn/PJ/article/964.htm</guid>
			<description><![CDATA[<p>&nbsp;&nbsp;<span class="Apple-style-span" style="font-family: 微软雅黑, 'Lucida Grande', 'Lucida Sans Unicode', 宋体, Arial, Verdana, sans-serif; color: rgb(57, 57, 57); line-height: 20px; ">Gravatar(个人全球统一标识)是globally recognized avatar(直译为&rdquo;全球标识的头像&rdquo;)的缩写。它可以在一切支持Gravatar的场合显示你的专属头像,就是能让你在发布评论的时候可以使用专属头像，它将和你填写的email地址一一对应,wordpress2.5以上版本,已经集成了Gravatar头像功能。具体申请步骤如下：</span></p><p>&nbsp;</p><p style="color:#aaa;"><p>…… ……<strong>（更多内容请到原文查看.）</strong></p><br /><br /><br /><br /><br /><br />目前尚无评论 | <a target="_blank" href="http://o.kainy.cn/PJ/article/964.htm#comm_top" title="前往发表评论" style="color:#aaa;">我要评论</a></p>]]></description>
		</item>
		
			<item>
			<link>http://o.kainy.cn/PJ/?id=960</link>
			<title><![CDATA[发春节呆]]></title>
			<author>www.Kainy.cn(Freetao's Blog ♥ 郭涛)</author>
			<category><![CDATA[网海拾贝]]></category>
			<pubDate>Tue,09 Feb 2010 22:22:56 +0800</pubDate>
			<guid>http://o.kainy.cn/PJ/article/960.htm</guid>
			<description><![CDATA[<p>&nbsp;<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">我爱北京春节前，一年里唯有这几天条条道路畅通，人人慈眉善目。加上刚过立春，吹面不寒杨柳风，风里终于有了水汽，手摸门把的时候也不再带着尺把长的静电。这个季节里人心涣散，只有在售票窗口前才能看到专注的表情。现在，还有什么比回家更重要。
<p>工位上的人悄无声息地一个接一个闪掉，只是在你耳边小声嘟囔一句，你都还没有听清楚说的是什么，他的脚就已经踏出门外。剩下的人依然在点击鼠标，击打键盘，但是我怀疑内容大概会让所有的Boss火冒三丈。中国人的春节并不是从大年三十开始的，那一晚只是情绪的高点。而中国人本质上矜持内敛，所以需要一到两周时间酝酿。同样，它也不是在正月初七结束，那是国家的法令，正月十五才是民间的约定收心日。</p>
<p>所以，我们现在就已经在春节里了。无边无际的慵懒，泛滥成灾的懒散，都已经在春风里开始发酵，让人睁不开眼睛，提不起精神，聚拢不了心思。这样的日子里，怎么能工作呢？东风已经吹起，该把去年的风筝拿出来整理一下了。山里的梅花开了，擦干净瓷瓶准备斜插一两枝进去。剩下的那点茶叶得快点喝掉，再过几天春茶上市，去年再好的龙井也只不过是茶渣而已。这样的时节适合胡思乱想，漫无边际。春天到了，要做的事情会有很多。</p>
<p>然而，E-mail是要回的，Excel表是要填的，Word文件终归是要打出来印刷的。传统中国人的那个春节只在暗地里存在，明面上一切条条框框都在，看上去得像个现代化的国家，现代化的企业，必须保持咖啡杯是满的。日子被整整齐齐切割成每二十四小时一段，文件上说2月12日起开始放假，意思是说那天凌晨零点零分零秒开始，假期算是真的到来。在此之前，一切得按部就班，大家装作没有春节这回事。问题是，春节根本不在二十四个小时之内，因为我们只有十二个时辰。把时间划分得太精细，那就不是中国人了，否则钟表就轮不到瑞士人去造。</p>
</p></span><p>&nbsp;</p><p style="color:#aaa;"><a target="_blank" href="http://o.kainy.cn/PJ/article/960.htm#comm_top" title="查看该文章的评论" style="color:#aaa;"><p>…… ……<strong>（更多内容请到原文查看.）</strong></p><br /><br /><br /><br /><br /><br />已有 1 条评论</a> | <a target="_blank" href="http://o.kainy.cn/PJ/article/960.htm#comm_top" title="前往发表评论" style="color:#aaa;">我要评论</a></p>]]></description>
		</item>
		
			<item>
			<link>http://o.kainy.cn/PJ/?id=959</link>
			<title><![CDATA[验证]]></title>
			<author>www.Kainy.cn(Freetao's Blog ♥ 郭涛)</author>
			<category><![CDATA[生活记录]]></category>
			<pubDate>Fri,05 Feb 2010 18:24:33 +0800</pubDate>
			<guid>http://o.kainy.cn/PJ/article/959.htm</guid>
			<description><![CDATA[<p>&nbsp;<span class="Apple-style-span" style="font-family: 'lucida Grande', Verdana; font-size: 14px; line-height: 25px; ">QQREADERC9A967C374D3B470 .</span></p><p>&nbsp;</p><p style="color:#aaa;"><p>…… ……<strong>（更多内容请到原文查看.）</strong></p><br /><br /><br /><br /><br /><br />目前尚无评论 | <a target="_blank" href="http://o.kainy.cn/PJ/article/959.htm#comm_top" title="前往发表评论" style="color:#aaa;">我要评论</a></p>]]></description>
		</item>
		
			<item>
			<link>http://o.kainy.cn/PJ/?id=957</link>
			<title><![CDATA[80后、90后的独立人格]]></title>
			<author>www.Kainy.cn(Freetao's Blog ♥ 郭涛)</author>
			<category><![CDATA[网海拾贝]]></category>
			<pubDate>Wed,27 Jan 2010 15:00:34 +0800</pubDate>
			<guid>http://o.kainy.cn/PJ/article/957.htm</guid>
			<description><![CDATA[<p>&nbsp;&nbsp;<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 22px; ">因为真实反映了当今社会生活中的热点现象，电影《蜗居》甫一上映便立刻在社会上掀起了强烈反响。我所听到的周围人对这则故事及其主人公作出的南辕北辙的价值判断，深刻地揭示了我们这个转型时代无所不在的道德失范状态。
<p style="margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 2em; ">&nbsp;</p>
<p style="margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 2em; ">&nbsp;</p>
<p style="margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-indent: 2em; ">敏感的知识分子则无奈而痛苦地认为，&ldquo;<strong>蜗居现象&rdquo;证明了：经过这么多年经济改革，我们没能如愿驱散《1984》的逻辑；相反，畸形的市场经济让我们头顶上继续笼罩着《1984》的阴影，肉体却一天比一天难以自拔地陷入《美丽新世界》。</strong>于是，我们就同时面对着前现代与后现代、政治与商业的双重困境。</p>
</span></p><p>&nbsp;</p><p style="color:#aaa;"><p>…… ……<strong>（更多内容请到原文查看.）</strong></p><br /><br /><br /><br /><br /><br />目前尚无评论 | <a target="_blank" href="http://o.kainy.cn/PJ/article/957.htm#comm_top" title="前往发表评论" style="color:#aaa;">我要评论</a></p>]]></description>
		</item>
		
</channel>
</rss>

