<?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/zhoufoxcn" type="application/rss+xml" ref="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/zhoufoxcn" type="application/rss+xml"></fs:self_link><lastBuildDate>Mon, 30 Jun 2008 08:04:00 GMT</lastBuildDate><title>周公的专栏</title><description>执子之手，与子偕老</description><item><title>.net中的IO体系介绍</title><link>http://item.feedsky.com/~csdn.net/zhoufoxcn/~1094590/90042647/1094588/1/item.html</link><wfw:comment>comments/2596918.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>comments/commentRss/2596918.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2596918</trackback:ping><description>.net中对于IO流的支持分为两个层次：基于字节和基于字符两种方式。

基于字节的方式：
基于字节的方式适用于任何场合，因为任何文件的数据都是基于字节的方式有序存放的。基于字节的方式适用于操作二进制文件，比如exe文件、视频、音频文件等等。
Stream抽象类是所有基于字节方式的流的父类。Stream及其子类具有三个方面的特征：
支持从流读取。可以从流中读取单个字节或者一次性读取多个字节，将读取到的多个字节存储到字节数组中。
支持向流写入。可以向流中写入单个字节或者一次性写入多个字节，如果要一次性写入多个字节，可以将多个字节构成一个字节数组，作为写入方法的参数。
基于字符的方式
对于东亚语系的国家而言，每个字符都是占用两个字节（采用Unicode编码），每次向文件读取和写入的时候基于字节的方式相对较为繁琐：写入的时候需要将字符串转换成字节数组，读取的时候需要将读取到的字节数组转换成字符串。为此，.net提供了一种更直接的方式，那就是基于字符的操作。
基于字符的方式相对就方面多了，我们可以指定一次性读/写入多个字符，或者一次性读/写入一行，或者一次性写入一个字符串，&lt;img src =&quot;aggbug/2596918.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 30 Jun 2008 16:04:00 +0800</pubDate><author>周公</author><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/06/30/2596918.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zhoufoxcn/archive/2008/06/30/2596918.aspx</guid><dc:creator>周公</dc:creator><fs:srclink>http://blog.csdn.net/zhoufoxcn/archive/2008/06/30/2596918.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/zhoufoxcn/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/zhoufoxcn/~1094590/90042647/1094588</fs:itemid></item><item><title>WinForm中的特殊窗体效果：渐变窗口和信息提示窗口</title><link>http://item.feedsky.com/~csdn.net/zhoufoxcn/~1094590/90042648/1094588/1/item.html</link><wfw:comment>comments/2554064.aspx</wfw:comment><slash:comments>6</slash:comments><wfw:commentRss>comments/commentRss/2554064.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2554064</trackback:ping><description>在WinForm中偶尔会遇到某些特殊效果：比如某个窗口刚开始的时候是完全透明的，随着时间的变化，窗体逐渐不透明，直至完全不透明。这是本文要探讨的窗体效果之一：渐变窗体。还有一种窗体效果：有些软件在某个特定的时间会显示一个提示窗体，这个窗体不是直接显示的，而是慢慢从窗口的最下方向上移动，直至窗体完全显示就不再移动。当我们点击“确定”按钮之后，窗体由从屏幕上逐渐下移，直至完全从屏幕上完全不显示。这也是本文讨论的窗体效果之一：移动提示信息窗口。&lt;img src =&quot;aggbug/2554064.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Tue, 17 Jun 2008 02:19:00 +0800</pubDate><author>周公</author><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/06/16/2554064.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zhoufoxcn/archive/2008/06/16/2554064.aspx</guid><dc:creator>周公</dc:creator><fs:srclink>http://blog.csdn.net/zhoufoxcn/archive/2008/06/16/2554064.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/zhoufoxcn/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/zhoufoxcn/~1094590/90042648/1094588</fs:itemid></item><item><title>用C#制作飘动的窗体效果</title><link>http://item.feedsky.com/~csdn.net/zhoufoxcn/~1094590/90042649/1094588/1/item.html</link><wfw:comment>comments/2515753.aspx</wfw:comment><slash:comments>11</slash:comments><wfw:commentRss>comments/commentRss/2515753.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2515753</trackback:ping><description>最近翻看以前的学习C#的联系代码，无意之中发现一个很有趣的项目。是一个飘动窗体的效果，运行程序之后，在当前屏幕上会像雪花般飘动很多自定义图标，并且它们就像雪花般轻盈地从屏幕上方飘落到屏幕下方，直到消失。在程序运行过程中，屏幕上会维持一定数目的雪花。在系统托盘区域会有一个图标，点击这个图标，可以退出程序。这个联系代码联系了如何使用不规则窗体和系统托盘控件。&lt;img src =&quot;aggbug/2515753.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 06 Jun 2008 17:02:00 +0800</pubDate><author>周公</author><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/06/06/2515753.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zhoufoxcn/archive/2008/06/06/2515753.aspx</guid><dc:creator>周公</dc:creator><fs:srclink>http://blog.csdn.net/zhoufoxcn/archive/2008/06/06/2515753.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/zhoufoxcn/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/zhoufoxcn/~1094590/90042649/1094588</fs:itemid></item><item><title>仿QQ面板的WinForm窗体</title><link>http://item.feedsky.com/~csdn.net/zhoufoxcn/~1094590/90042650/1094588/1/item.html</link><wfw:comment>comments/2499194.aspx</wfw:comment><slash:comments>9</slash:comments><wfw:commentRss>comments/commentRss/2499194.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2499194</trackback:ping><description>仿QQ面板的WinForm窗体    说明：前几天在一个朋友那里看到做得很漂亮的一个企业及时通讯软件，利用C＃编写，完全没有利用第三方控件就实现了类似于QQ面板的效果，非常漂亮。    回家之后凭着自己的记忆和查阅MSDN尝试实现了一下，初步实现了类似效果，现在奉献给大家。    在程序中用到了三种控件（不包括窗体类）：ImageList、Button和ListView。Button控件显示好友分组，点击之后显示相应好友分组的信息；ImageList控件用于存放好友头像；ListView控件用于显示好友列表。在程序中不是用Location来定位控件的位置，而是使用Dock属性来设置控件的停靠，并随着父控件一起调整大小。全文及源代码请见详细说明。&lt;img src =&quot;aggbug/2499194.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sat, 31 May 2008 23:24:00 +0800</pubDate><author>周公</author><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/05/31/2499194.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zhoufoxcn/archive/2008/05/31/2499194.aspx</guid><dc:creator>周公</dc:creator><fs:srclink>http://blog.csdn.net/zhoufoxcn/archive/2008/05/31/2499194.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/zhoufoxcn/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/zhoufoxcn/~1094590/90042650/1094588</fs:itemid></item><item><title>ASP.NET中常用输出JS脚本的类（改进版）</title><link>http://item.feedsky.com/~csdn.net/zhoufoxcn/~1094590/90042651/1094588/1/item.html</link><wfw:comment>comments/2312440.aspx</wfw:comment><slash:comments>3</slash:comments><wfw:commentRss>comments/commentRss/2312440.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2312440</trackback:ping><description>在ASP.NET中我们经常需要输出一些JS脚本，比如弹出一个警告窗口，返回到历史页面等JS功能，我看到网上流传得比较广的是马先光写的一个JScript类，这个类基本将经常用到的JS脚本包含了，非常方便，唯一的不足是作者采用的Response.Write(string msg)的办法，这样造成输出的js脚本在标签之外，破坏了原有XHTML的结构，所以本人在满足原功能的情况下，对JScript类做了进一步的改善，这个改善采用了重载的办法，增加了一个System.Web.UI.Page类的实例作为参数，不会影响原来的程序代码。&lt;img src =&quot;aggbug/2312440.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Tue, 22 Apr 2008 00:32:00 +0800</pubDate><author>周公</author><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/04/21/2312440.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zhoufoxcn/archive/2008/04/21/2312440.aspx</guid><dc:creator>周公</dc:creator><fs:srclink>http://blog.csdn.net/zhoufoxcn/archive/2008/04/21/2312440.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/zhoufoxcn/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/zhoufoxcn/~1094590/90042651/1094588</fs:itemid></item><item><title>.net程序中资源文件的保护办法探讨</title><link>http://item.feedsky.com/~csdn.net/zhoufoxcn/~1094590/90042652/1094588/1/item.html</link><wfw:comment>comments/2296966.aspx</wfw:comment><slash:comments>7</slash:comments><wfw:commentRss>comments/commentRss/2296966.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2296966</trackback:ping><description>在编写.net程序（特别是WinForm时）经常会遇到一些需要加以保护的资源文件，比如一些数据库文件、图片文件等等，我们希望能被自己的程序访问，但是又不希望别人把我们辛辛苦苦收集来的数据被别人毫不费力地用于自己的程序中，在网上已经有不少朋友问到过这个问题，我也与不少朋友探讨过这个问题，今天把一些常用的做法介绍给大家，仅供参考。&lt;img src =&quot;aggbug/2296966.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 16 Apr 2008 22:16:00 +0800</pubDate><author>周公</author><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/04/16/2296966.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zhoufoxcn/archive/2008/04/16/2296966.aspx</guid><dc:creator>周公</dc:creator><fs:srclink>http://blog.csdn.net/zhoufoxcn/archive/2008/04/16/2296966.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/zhoufoxcn/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/zhoufoxcn/~1094590/90042652/1094588</fs:itemid></item><item><title>在VS2005利用NUnit进行测试</title><link>http://item.feedsky.com/~csdn.net/zhoufoxcn/~1094590/90042653/1094588/1/item.html</link><wfw:comment>comments/2222847.aspx</wfw:comment><slash:comments>1</slash:comments><wfw:commentRss>comments/commentRss/2222847.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2222847</trackback:ping><description>一、介绍NUnit是一款用于在.net环境进行单元测试的工具，它的官方网站是：http://www.nunit.org，需要了解历史和下载最新版本的朋友可以去官方网站下载，目前最新版本是2.4.6了，提供msi安装文件和压缩包形式下载，并且支持.net1.1和.net2.0。本文通过一个简单的例子演示了如何使用NUnit进行单元测试，并且演示了如何将NUnit集成到VS2005中，方便我们利用VS2005进行单元测试。&lt;img src =&quot;aggbug/2222847.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 27 Mar 2008 21:24:00 +0800</pubDate><author>周公</author><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/03/27/2222847.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zhoufoxcn/archive/2008/03/27/2222847.aspx</guid><dc:creator>周公</dc:creator><fs:srclink>http://blog.csdn.net/zhoufoxcn/archive/2008/03/27/2222847.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/zhoufoxcn/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/zhoufoxcn/~1094590/90042653/1094588</fs:itemid></item><item><title>log4net使用详解</title><link>http://item.feedsky.com/~csdn.net/zhoufoxcn/~1094590/90042654/1094588/1/item.html</link><wfw:comment>comments/2220533.aspx</wfw:comment><slash:comments>1</slash:comments><wfw:commentRss>comments/commentRss/2220533.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2220533</trackback:ping><description>说明：本程序演示如何利用log4net记录程序日志信息。log4net是一个功能著名的开源日志记录组件。利用log4net可以方便地将日志信息记录到文件、控制台、Windows事件日志和数据库（包括MS SQL Server, Access, Oracle9i,Oracle8i,DB2,SQLite）中。并且我们还可以记载控制要记载的日志级别，可以记载的日志类别包括：FATAL（致命错误）、ERROR（一般错误）、WARN（警告）、INFO（一般信息）、DEBUG（调试信息）。要想获取最新版本的log4net组件库，可以到官方网站http://logging.apache.org/log4net/下载。现在的最新版本是1.2.10。下面的例子展示了如何利用log4net记录日志 。&lt;img src =&quot;aggbug/2220533.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 27 Mar 2008 00:13:00 +0800</pubDate><author>周公</author><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/03/26/2220533.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zhoufoxcn/archive/2008/03/26/2220533.aspx</guid><dc:creator>周公</dc:creator><fs:srclink>http://blog.csdn.net/zhoufoxcn/archive/2008/03/26/2220533.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/zhoufoxcn/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/zhoufoxcn/~1094590/90042654/1094588</fs:itemid></item><item><title>HTML Help WorkShop制作chm图解</title><link>http://item.feedsky.com/~csdn.net/zhoufoxcn/~1094590/90042655/1094588/1/item.html</link><wfw:comment>comments/2213955.aspx</wfw:comment><slash:comments>2</slash:comments><wfw:commentRss>comments/commentRss/2213955.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2213955</trackback:ping><description>一位做共享软件做得很成功的同行说过：“一个好的共享软件，首先操作要简单容易上手，其次一定附带一个详尽的帮助手册。”可见，对于一个软件来说，帮助文件的重要性。不过大部分程序人员（包括我）都忽略了帮助文件的重要性，都认为自己做的软件相当简单，一看就会，殊不知我们是一个连底层都了解的开发人员。
前段时间本人做了一个图片处理软件，免费给一些同学和朋友使用，很多人的反馈是不知道怎么用，于是本人花时间做了一个帮助手册，得到了很多好的反馈，本人准备在结合他们的反馈意见之后发布一个Realease版本。在使用的过程中，我使用了微软提供的HTML Help WorkShop这个软件，可惜是英文的，为了方便广大对英语不是很熟悉的朋友，本人写了一份制作图解，希望对大家有帮助。&lt;img src =&quot;aggbug/2213955.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Tue, 25 Mar 2008 00:48:00 +0800</pubDate><author>周公</author><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/03/24/2213955.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zhoufoxcn/archive/2008/03/24/2213955.aspx</guid><dc:creator>周公</dc:creator><fs:srclink>http://blog.csdn.net/zhoufoxcn/archive/2008/03/24/2213955.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/zhoufoxcn/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/zhoufoxcn/~1094590/90042655/1094588</fs:itemid></item><item><title>用纯C#实现截取屏幕指定区域</title><link>http://item.feedsky.com/~csdn.net/zhoufoxcn/~1094590/90042656/1094588/1/item.html</link><wfw:comment>comments/2205911.aspx</wfw:comment><slash:comments>1</slash:comments><wfw:commentRss>comments/commentRss/2205911.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2205911</trackback:ping><description>以前在别的地方见过一个通过调用系统API实现屏幕截图的例子，从内心来说我不太喜欢在C#代码中出现这种情况，现在什么都讲“和谐”，我觉得这种做法就是破坏了我们的“和谐”代码，呵呵，开玩笑，有的时候，不通过系统API确实难以做到的。

下面讲述的就是怎么通过纯C#来实现屏幕截图，代码如下：&lt;img src =&quot;aggbug/2205911.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sat, 22 Mar 2008 23:04:00 +0800</pubDate><author>周公</author><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/03/22/2205911.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zhoufoxcn/archive/2008/03/22/2205911.aspx</guid><dc:creator>周公</dc:creator><fs:srclink>http://blog.csdn.net/zhoufoxcn/archive/2008/03/22/2205911.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/zhoufoxcn/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/zhoufoxcn/~1094590/90042656/1094588</fs:itemid></item><item><title>在ADO.NET中使用参数化SQL语句的大同小异</title><link>http://item.feedsky.com/~csdn.net/zhoufoxcn/~1094590/90042657/1094588/1/item.html</link><wfw:comment>comments/2195618.aspx</wfw:comment><slash:comments>3</slash:comments><wfw:commentRss>comments/commentRss/2195618.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2195618</trackback:ping><description>在ADO.NET中经常需要跟各种数据库打交道，在不实用存储过程的情况下，使用参数化SQL语句一定程度上可以防止SQL注入，同时对一些较难赋值的字段（如在SQL Server中Image字段，在Oracle中Clob字段等）使用参数化SQL语句很容易就能赋值，所以本人经常在ADO.NET中使用参数化SQL语句，近几年来陆续跟SQL Server/Oracle/ MySQL/Access打交道，积累了一些心得，现在整理出来供大家参考。&lt;img src =&quot;aggbug/2195618.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 19 Mar 2008 09:26:00 +0800</pubDate><author>周公</author><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/03/19/2195618.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zhoufoxcn/archive/2008/03/19/2195618.aspx</guid><dc:creator>周公</dc:creator><fs:srclink>http://blog.csdn.net/zhoufoxcn/archive/2008/03/19/2195618.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/zhoufoxcn/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/zhoufoxcn/~1094590/90042657/1094588</fs:itemid></item><item><title>用c#和GDI+实现杂志翻页动画效果</title><link>http://item.feedsky.com/~csdn.net/zhoufoxcn/~1094590/90042658/1094588/1/item.html</link><wfw:comment>comments/2183895.aspx</wfw:comment><slash:comments>1</slash:comments><wfw:commentRss>comments/commentRss/2183895.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2183895</trackback:ping><description>说明：以前本人参与个一个电子杂志项目，当时要求实现模拟现实生活中的杂志翻页动画效果，别人推荐了这篇文章，最后达到了我想要的效果，今天尝试把这篇文章翻译了一下。希望对英语水平不太好的同行有帮助。如果你的英语水平足够好，我推荐你阅读英文原文，网址是：http://www.codeproject.com/KB/GDI-plus/TurnThePage.aspx，同时希望大家原谅本人的翻译水平。&lt;img src =&quot;aggbug/2183895.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sat, 15 Mar 2008 07:20:00 +0800</pubDate><author>周公</author><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/03/14/2183895.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zhoufoxcn/archive/2008/03/14/2183895.aspx</guid><dc:creator>周公</dc:creator><fs:srclink>http://blog.csdn.net/zhoufoxcn/archive/2008/03/14/2183895.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/zhoufoxcn/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/zhoufoxcn/~1094590/90042658/1094588</fs:itemid></item><item><title>用AjaxPro实现无刷新翻页效果及数据库分页技术介绍</title><link>http://item.feedsky.com/~csdn.net/zhoufoxcn/~1094590/90042659/1094588/1/item.html</link><wfw:comment>comments/2174234.aspx</wfw:comment><slash:comments>1</slash:comments><wfw:commentRss>comments/commentRss/2174234.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2174234</trackback:ping><description>题外话：经不住一些朋友的一再要求，一气写了这么几篇Ajax方面的文章，这其中大部分代码都是从我的项目中摘取出来的，不过为了演示整个程序的框架结构，所以在演示程序代码里不会有大量与实际相关的业务逻辑处理，但是这并不妨碍你利用这些理论做出复杂的、完善的应用。一、数据库分页理论在实际项目中经常会遇到一个表里有几K、几M以上的数据，而呈现给用户时并不会一下子都显示出来，所以都是分批展示给用户，这样一来可以减小网络传输量，二来也减轻服务器压力。本文展示了在数据库中如何实现分页，如何利用AjaxPro实现无刷新分页。&lt;img src =&quot;aggbug/2174234.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 13 Mar 2008 03:34:00 +0800</pubDate><author>周公</author><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/03/12/2174234.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zhoufoxcn/archive/2008/03/12/2174234.aspx</guid><dc:creator>周公</dc:creator><fs:srclink>http://blog.csdn.net/zhoufoxcn/archive/2008/03/12/2174234.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/zhoufoxcn/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/zhoufoxcn/~1094590/90042659/1094588</fs:itemid></item><item><title>用AjaxPro实现定时刷新效果</title><link>http://item.feedsky.com/~csdn.net/zhoufoxcn/~1094590/90042660/1094588/1/item.html</link><wfw:comment>comments/2160407.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>comments/commentRss/2160407.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2160407</trackback:ping><description>说明：在Web开发中，有时候需要经常更新某一部分内容，如果不采用Ajax技术，就需要使用传统的html技术，在区域加以下代码： （假设每10秒更新一次），这样做的缺点是每次更新的时候整个页面都刷新了带来很多不必要的流量，也影响效率。微软的Ajax.Net类库也提供了相应的控件，使用微软提供的控件开发效率高，但是经常会出现“***不是已知元素 原因可能是网站中存在编译错误 ”的提示，另外有些控件虽然在执行的时候不占用显示空间，但是在设计视图的时候却占用显示空间，让人心情不爽，所以我还是倾向于AjaxPro这个第三方控件。不过AjaxPro本身好像没有提供定时执行某个方法的类，但是我们可以利用Js本身的方法，它就是setInterval(&quot;方法名()&quot;,间隔多少微秒)，没研究微软的 Ajax.Net类库，我估计它的最终效果也是采用这个方法或者类似方法来实现的。（如果只想执行一次，可以使用setTimeout(&quot;方法名()&quot;,间隔多少微秒)这个方法。&lt;img src =&quot;aggbug/2160407.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 10 Mar 2008 05:55:00 +0800</pubDate><author>周公</author><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/03/09/2160407.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zhoufoxcn/archive/2008/03/09/2160407.aspx</guid><dc:creator>周公</dc:creator><fs:srclink>http://blog.csdn.net/zhoufoxcn/archive/2008/03/09/2160407.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/zhoufoxcn/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/zhoufoxcn/~1094590/90042660/1094588</fs:itemid></item><item><title>.net中的WMI编程（二）：WMI中的WQL语言和WQL的测试工具</title><link>http://item.feedsky.com/~csdn.net/zhoufoxcn/~1094590/90042661/1094588/1/item.html</link><wfw:comment>comments/2044246.aspx</wfw:comment><slash:comments>2</slash:comments><wfw:commentRss>comments/commentRss/2044246.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2044246</trackback:ping><description>今天临晨本人写了一篇有关.net中WMI编程的入门文章，名字是《 .net中的WMI编程（一）：WMI介绍及简单应用》，如果你对WMI还不太熟悉，请先阅读那一篇，以便有个大概的印象，网址是：http://blog.csdn.net/zhoufoxcn/archive/2008/01/14/2042697.aspx。昨天给大家展示的例子都比较简单（我个人觉得），不过还是有不少朋友私底下问我为什么有些语句需要那么写，还有人问我怎么知道那样写，以及怎么知道查询结果中会有那些字段名（既然叫WQL，我就称之为字段了）。所以我觉得有必要介绍一下WMI中的查询语言了。WQL就是WMI中的查询语言，WQL的全称是WMI Query Language，简称为WQL，翻译成中文好像可以成为Windows管理规范查询语言。熟悉SQL语言的朋友会感觉它和SQL非常相似。WQL其实非常简单，它有如下特点：1、每个WQL语句必须以SELECT开始；2、SELECT后跟你需要查询的属性名（我刚才对应SQL将其称之为字段名了），也可以像SQL一样，以*表示返回所有属性值；3、FRO&lt;img src =&quot;aggbug/2044246.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Tue, 15 Jan 2008 07:28:00 +0800</pubDate><author>周公</author><comments>http://blog.csdn.net/zhoufoxcn/archive/2008/01/14/2044246.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zhoufoxcn/archive/2008/01/14/2044246.aspx</guid><dc:creator>周公</dc:creator><fs:srclink>http://blog.csdn.net/zhoufoxcn/archive/2008/01/14/2044246.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/zhoufoxcn/rss.aspx</fs:srcfeed><fs:itemid>csdn.net/zhoufoxcn/~1094590/90042661/1094588</fs:itemid></item></channel></rss>