<?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/cneee" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/cneee" type="application/rss+xml"></fs:self_link><lastBuildDate>Wed, 22 Apr 2009 00:16:00 GMT</lastBuildDate><title>www.ooi.cn专栏</title><link>http://blog.csdn.net/cneee/</link><item><title>C#在word文档中替换字符串</title><link>http://blog.csdn.net/cneee/archive/2009/04/22/4099127.aspx</link><wfw:comment>http://blog.csdn.net/cneee/comments/4099127.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/cneee/comments/commentRss/4099127.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4099127</trackback:ping><description>C#在word文档中替换字符串&lt;br /&gt;      在文档中搜索和替换字符串,先在word文档中标记字符串,然后再搜索标记字符串并用新的字符串替换标记字符串.主要是先选择整个文档,然后使用Find的Execute方法查找指定字符串并替换为相应字符串.以下实现方式之一,使用文档(Document )对象的 Content 属性选择整个文档。&lt;br /&gt;     ///&lt;br /&gt;        /// 在word 中查找一个字符串直接替换所需要的文本&lt;br /&gt;        /// &lt;br /&gt;        /// 原文本&lt;br /&gt;        /// 新文本&lt;br /&gt;        /// &lt;br /&gt;        public bool Replace(string strOldText,string strNewText)&lt;br /&gt;        {&lt;br /&gt;&lt;img src =&quot;http://blog.csdn.net/cneee/aggbug/4099127.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 22 Apr 2009 08:16:00 +0800</pubDate><author>cneee</author><comments>http://blog.csdn.net/cneee/archive/2009/04/22/4099127.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/cneee/archive/2009/04/22/4099127.aspx</guid><dc:creator>cneee</dc:creator></item><item><title>利用SQL存储过程给SqlDataReader数据分页</title><link>http://blog.csdn.net/cneee/archive/2009/03/31/4039734.aspx</link><wfw:comment>http://blog.csdn.net/cneee/comments/4039734.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/cneee/comments/commentRss/4039734.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4039734</trackback:ping><description>2007年05月18日 星期五 09:33&lt;br /&gt;使用SqlDataReader无法象SqlDataAdapter一样对取得的数据进行分页处理，那么我们只好通过SQL存储过程用SQL读取的数据进行分页处理。&lt;br /&gt;------------------------------------------------------------------&lt;br /&gt;ALTER proc [prize].[GetIntegralList]&lt;br /&gt;@pagesize int, --page size&lt;br /&gt;@pageNow int, --CurrentPage NO&lt;br /&gt;@userId int&lt;br /&gt;As&lt;br /&gt;set @pageNow=@pageNow-1&lt;br /&gt;declare @jilu bigint&lt;br /&gt;set @jilu=(@pagesize*@pageNow)&lt;br /&gt;&lt;br /&gt;declare @sql nvarchar(500)&lt;br /&gt;set @sql='select top '+convert(varchar(10),@pagesize)&lt;img src =&quot;http://blog.csdn.net/cneee/aggbug/4039734.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 01 Apr 2009 06:21:00 +0800</pubDate><author>cneee</author><comments>http://blog.csdn.net/cneee/archive/2009/03/31/4039734.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/cneee/archive/2009/03/31/4039734.aspx</guid><dc:creator>cneee</dc:creator></item><item><title>asp.net 删除上传的图片</title><link>http://blog.csdn.net/cneee/archive/2009/03/20/4009352.aspx</link><wfw:comment>http://blog.csdn.net/cneee/comments/4009352.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/cneee/comments/commentRss/4009352.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4009352</trackback:ping><description>asp.net 如何删除上传的图片2008-05-28 15:06&lt;br /&gt;1.Server.MapPath(&quot;/&quot;) 应用程序根目录所在的位置 如 C:\Inetpub\wwwroot\ &lt;br /&gt;2.Server.MapPath(&quot;./&quot;) 表示所在页面的当前目录 &lt;br /&gt;注：等价于Server.MapPath(&quot;&quot;) 返回 Server.MapPath(&quot;&quot;)所在页面的物理文件路径 &lt;br /&gt;3.Server.MapPath(&quot;../&quot;)表示上一级目录 &lt;br /&gt;4.Server.MapPath(&quot;~/&quot;)表示当前应用级程序的目录，如果是根目录，就是根目录，如果是虚拟目录，就是虚拟目录所在的位置 如：C:\Inetpub\wwwroot\Example\ &lt;br /&gt;注：等效于Server.MapPath(&quot;~&quot;)。&lt;br /&gt;实例：&lt;br /&gt;使用之前加上using System.IO;命名空间&lt;br /&gt;string filePath = Server.MapPath(&quot;~&quot;)+&quot;/&quot;+&quot;图片的路径&quot;;&lt;br /&gt;     if (File.Exists(file&lt;img src =&quot;http://blog.csdn.net/cneee/aggbug/4009352.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sat, 21 Mar 2009 05:57:00 +0800</pubDate><author>cneee</author><comments>http://blog.csdn.net/cneee/archive/2009/03/20/4009352.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/cneee/archive/2009/03/20/4009352.aspx</guid><dc:creator>cneee</dc:creator></item><item><title>设置上传文件类型</title><link>http://blog.csdn.net/cneee/archive/2009/03/20/4007272.aspx</link><wfw:comment>http://blog.csdn.net/cneee/comments/4007272.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/cneee/comments/commentRss/4007272.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4007272</trackback:ping><description>&lt;br /&gt;if (FileUp.PostedFile.ContentType == &quot;image/pjpeg&quot; || FileUp.PostedFile.ContentType == &quot;image/gif&quot; || FileUp.PostedFile.ContentType == &quot;image/bmp&quot;) //设置上传文件类型 &lt;br /&gt;&lt;br /&gt;加上 &lt;br /&gt;FileUp.PostedFile.ContentType==&quot;application/x-shockwave-flash&quot; &lt;br /&gt;---------------------- &lt;br /&gt;备注其它类型的ContentType &lt;br /&gt;&lt;br /&gt;&quot;.*&quot;=&quot;application/octet-stream&quot; &lt;br /&gt;&quot;.001&quot;=&quot;application/x-001&quot; &lt;br /&gt;&quot;.301&quot;=&quot;application/x-301&quot; &lt;br /&gt;&quot;.323&quot;=&quot;text/h323&quot; &lt;br /&gt;&quot;.906&quot;=&quot;application/x-906&quot; &lt;br /&gt;&quot;.907&quot;=&quot;drawing/907&quot; &lt;img src =&quot;http://blog.csdn.net/cneee/aggbug/4007272.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 20 Mar 2009 20:44:00 +0800</pubDate><author>cneee</author><comments>http://blog.csdn.net/cneee/archive/2009/03/20/4007272.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/cneee/archive/2009/03/20/4007272.aspx</guid><dc:creator>cneee</dc:creator></item><item><title>C#多文件同时上传源代码</title><link>http://blog.csdn.net/cneee/archive/2009/03/17/3999671.aspx</link><wfw:comment>http://blog.csdn.net/cneee/comments/3999671.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/cneee/comments/commentRss/3999671.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3999671</trackback:ping><description>&lt;br /&gt;多文件同时上传源代码   &lt;br /&gt;  以下是前台代码：     &lt;br /&gt;  --------------------------------------------------------------------     &lt;br /&gt;  &lt;%@     Page     language=&quot;c#&quot;     Src=&quot;UpLoad.aspx.cs&quot;         Inherits=&quot;WebPortal.Upload&quot;     %&gt;         &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;多文件上传&lt;br /&gt;&lt;img src =&quot;http://blog.csdn.net/cneee/aggbug/3999671.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 18 Mar 2009 06:55:00 +0800</pubDate><author>cneee</author><comments>http://blog.csdn.net/cneee/archive/2009/03/17/3999671.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/cneee/archive/2009/03/17/3999671.aspx</guid><dc:creator>cneee</dc:creator></item><item><title>C#下载代码,防迅雷</title><link>http://blog.csdn.net/cneee/archive/2009/03/15/3991898.aspx</link><wfw:comment>http://blog.csdn.net/cneee/comments/3991898.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/cneee/comments/commentRss/3991898.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3991898</trackback:ping><description>&lt;br /&gt;&lt;br /&gt; protectedvoid btn_Download_Click(object sender, EventArgs e)&lt;br /&gt;    {&lt;br /&gt;        string strFileUploadPath =&quot;Files/&quot;;&lt;br /&gt;        //从列表框控件中读取选择的文件名&lt;br /&gt;        string strFileName = lb_FileList.SelectedValue;

        //组合成物理路径&lt;br /&gt;        string strFilePhysicalPath = Server.MapPath(&quot;~/&quot;+ strFileUploadPath + strFileName);&lt;br /&gt;        Response.Clear();&lt;br /&gt;        Response.ContentType =&quot;application/octet-stream&quot;;&lt;br /&gt;        Response.AddHeader(&quot;Content-Disposition&quot;, &quot;attach&lt;img src =&quot;http://blog.csdn.net/cneee/aggbug/3991898.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sun, 15 Mar 2009 21:00:00 +0800</pubDate><author>cneee</author><comments>http://blog.csdn.net/cneee/archive/2009/03/15/3991898.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/cneee/archive/2009/03/15/3991898.aspx</guid><dc:creator>cneee</dc:creator></item><item><title>泛型学习</title><link>http://blog.csdn.net/cneee/archive/2009/03/15/3991885.aspx</link><wfw:comment>http://blog.csdn.net/cneee/comments/3991885.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/cneee/comments/commentRss/3991885.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3991885</trackback:ping><description>dictionary不是哈希表，哈希表是hashtable。下面是这几个的区别和用法： 
Hashtable, ArrayList, List, Dictionary 


Hashtable用法 

在.NET Framework中，Hashtable是System.Collections命名空间提供的一个容器，用于处理和表现类似key/value的键值对，其中key通常可用来快速查找，同时key是区分大小写；value用于存储对应于key的值。Hashtable中key/value键值对均为object类型，所以Hashtable可以支持任何类型的key/value键值对.。 
&lt;img src =&quot;http://blog.csdn.net/cneee/aggbug/3991885.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sun, 15 Mar 2009 20:54:00 +0800</pubDate><author>cneee</author><comments>http://blog.csdn.net/cneee/archive/2009/03/15/3991885.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/cneee/archive/2009/03/15/3991885.aspx</guid><dc:creator>cneee</dc:creator></item><item><title>ajax缓存问题解决</title><link>http://blog.csdn.net/cneee/archive/2009/03/10/3976723.aspx</link><wfw:comment>http://blog.csdn.net/cneee/comments/3976723.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/cneee/comments/commentRss/3976723.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3976723</trackback:ping><description>&lt;br /&gt;缓存问题 &lt;br /&gt;方法一: &lt;br /&gt;&lt;br /&gt;HTML codexmlHttp.open(&quot;GET&quot;, &quot;default.aspx?param=&quot;+Math.random(), true); &lt;br /&gt;或者 &lt;br /&gt;xmlHttp.open(&quot;GET&quot;, &quot;default.aspx?param=&quot;+new Date().getTime(), true); &lt;br /&gt;方法二: &lt;br /&gt;xmlHttp.open(&quot;GET&quot;, &quot;default.aspx&quot;, true); &lt;br /&gt;xmlHttp.setRequestHeader(&quot;If-Modified-Since&quot;,&quot;0&quot;); &lt;br /&gt;xmlHttp.send(null);&lt;img src =&quot;http://blog.csdn.net/cneee/aggbug/3976723.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 11 Mar 2009 00:01:00 +0800</pubDate><author>cneee</author><comments>http://blog.csdn.net/cneee/archive/2009/03/10/3976723.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/cneee/archive/2009/03/10/3976723.aspx</guid><dc:creator>cneee</dc:creator></item><item><title>利用页面输出生成HTML静态页面</title><link>http://blog.csdn.net/cneee/archive/2009/02/07/3867717.aspx</link><wfw:comment>http://blog.csdn.net/cneee/comments/3867717.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/cneee/comments/commentRss/3867717.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3867717</trackback:ping><description>&lt;br /&gt;最近看了很多关于自动生成HTML静态页面的介绍，大多数都使用模板的方法，但模板方式只能应用于一些简单的页面，对于复杂的页面就显示无能为力了，例如页面中有DataList,GridView等控件时，用模板显然解决不了问题，利用页面输出很方便。 &lt;br /&gt;publicvoid createHTML() &lt;br /&gt;{ &lt;br /&gt;        string filePath = Server.MapPath(&quot;.&quot;) + &quot;index.html&quot;; &lt;br /&gt;        //调用default.aspx, 并获取其输出 &lt;br /&gt;        StringWriter sw = new StringWriter(); &lt;br /&gt;        Server.Execute(&quot;Default.aspx&quot;, sw); &lt;br /&gt;        string content = sw.ToString(); &lt;br /&gt;        //输出到客户端 &lt;br /&gt;        Response.Write(content); &lt;br /&gt;        Resp&lt;img src =&quot;http://blog.csdn.net/cneee/aggbug/3867717.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sun, 08 Feb 2009 01:16:00 +0800</pubDate><author>cneee</author><comments>http://blog.csdn.net/cneee/archive/2009/02/07/3867717.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/cneee/archive/2009/02/07/3867717.aspx</guid><dc:creator>cneee</dc:creator></item><item><title>ASP.NET页面缓存问题的解决</title><link>http://blog.csdn.net/cneee/archive/2009/02/03/3859330.aspx</link><wfw:comment>http://blog.csdn.net/cneee/comments/3859330.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/cneee/comments/commentRss/3859330.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3859330</trackback:ping><description>ASP.NET页面缓存问题的解决 以前没有注意到这个问题，今天在看Blog的时候发现有篇文章不错，或许以后值得借鉴：一般情况下,WEB页面都会在Internet临时文件夹中有一个临时文件.我在操作IE时会出现这种情况:假如说有一个页面Page1.aspx,在我第一次访问后,它会在我的Internet临时文件夹里有一个Page1.aspx文件生成.之后,如果我改了Page1.aspx的数据后再次访问该页面,发现IE并没有对这个Page1.aspx的数据进行更新,反而打开的是我第一次访问的页面.为什么会这样,是因为IE自动(默认)调用了Internet临时文件夹里有一个Page1.aspx文件,而不是重新下载新的Page1.aspx.怎样能让IE自动重新下载新的Page1.aspx呢?一种方法是对Internet选项进行设置.Internet选项--&gt;常规--&gt;Internet临时文件中&quot;设置&quot;--&gt;每次访问此页时检查.这种设置时最好同时删除临时文件.这种方法是让客户自己设置自己的浏&lt;img src =&quot;http://blog.csdn.net/cneee/aggbug/3859330.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Tue, 03 Feb 2009 09:28:00 +0800</pubDate><author>cneee</author><comments>http://blog.csdn.net/cneee/archive/2009/02/03/3859330.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/cneee/archive/2009/02/03/3859330.aspx</guid><dc:creator>cneee</dc:creator></item></channel></rss>