<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>软若石（I Will Get What I Want.）Asp.Net,Ajax,C#,Javascript  - ASP.NET</title><link>http://blog.csdn.net/ruanruoshi/category/182736.aspx</link><description>ASP.NET</description><dc:language>zh-CN</dc:language><lastUpdateTime>Tue, 22 Jul 2008 15:06:00 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>软若石</dc:creator><title>ASP.NET Session详解 </title><link>http://blog.csdn.net/ruanruoshi/archive/2008/07/22/2690698.aspx</link><pubDate>Tue, 22 Jul 2008 15:06:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2008/07/22/2690698.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/2690698.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2008/07/22/2690698.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/2690698.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2690698</trackback:ping><description>(一) 描述
当用户在 Web 应用程序中导航 ASP.NET 页时，ASP.NET 会话状态使您能够存储和检索用户的值。HTTP 是一种无状态协议。这意味着 Web 服务器会将针对页面的每个 HTTP 请求作为独立的请求进行处理。服务器不会保留以前的请求过程中所使用的变量值的任何信息。

ASP.NET 会话状态将来自限定时间范围内的同一浏览器的请求标识为一个会话，当每个用户首次与这台WWW服务器建立连接时，他就与这个服务器建立了一个
&lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/2690698.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>软若石</dc:creator><title>SQL Server2000字符串截取各种实例</title><link>http://blog.csdn.net/ruanruoshi/archive/2008/07/22/2688662.aspx</link><pubDate>Tue, 22 Jul 2008 10:28:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2008/07/22/2688662.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/2688662.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2008/07/22/2688662.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/2688662.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2688662</trackback:ping><description>
  A.截取从字符串左边开始N个字符

  Declare @S1 varchar(100)
  Select @S1='http://www.163.com'
  Select Left(@S1,4)
  ------------------------------------
  显示结果: http 

&lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/2688662.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>软若石</dc:creator><title>Asp.net直接保存文件到客户端</title><link>http://blog.csdn.net/ruanruoshi/archive/2008/05/28/2489311.aspx</link><pubDate>Wed, 28 May 2008 10:27:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2008/05/28/2489311.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/2489311.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2008/05/28/2489311.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/2489311.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2489311</trackback:ping><description>在我们的系统的编写过程中,应该有很多的时候需要客户下载文件.我第一次的做法(应该也是大部分人的做法吧?)是:&lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/2489311.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>软若石</dc:creator><title>repeater里添加序号的4种方法(前台,后台)</title><link>http://blog.csdn.net/ruanruoshi/archive/2008/05/12/2436583.aspx</link><pubDate>Mon, 12 May 2008 13:52:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2008/05/12/2436583.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/2436583.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2008/05/12/2436583.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/2436583.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2436583</trackback:ping><description>两种简洁方法 

1、



 

2、



 
&lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/2436583.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>软若石</dc:creator><title>VS2008发布、生成网站时如何设置固定的dll文件名？</title><link>http://blog.csdn.net/ruanruoshi/archive/2008/05/09/2423524.aspx</link><pubDate>Fri, 09 May 2008 16:20:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2008/05/09/2423524.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/2423524.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2008/05/09/2423524.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/2423524.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2423524</trackback:ping><description>在用VS2008发布网站项目时,默认生成bin目录下的.dll文件名是随机命名的;  如果要固定生成文件名如何固定呢？有以下两种方案：一、每个页面的程序集分别生成对应的dll; 方法：在“发布网站”的选项中，勾选“使用固定命名和单页程序集” 二、整个站点的程序集都生成为一个文件；方法：需下载MS提供的插件,经过简单的设置可生成自定义的文件名(.dll): Web Deployment Projects with Visual Studio 2008下载地址:http://download.microsoft.com/download/0/5/b/05b4424b-5b9b-4961-8ec6-91e9f1741b2d/WebDeploymentSetup.msi 简单操作如下:1.下载后直接安装,安装完后打开VS2008;2.在[生成]-&amp;gt;[发布网站]下面会多出一项[Add Web Deployment Project],也可在要发布的网站项目上点右键.直接选取[Add Web Deployment Project],弹出属性对话框后.设置好指定名称和存&lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/2423524.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>软若石</dc:creator><title>FreeTextBox 上传到虚拟主机上提示错误，且无法显示图片的解决办法。</title><link>http://blog.csdn.net/ruanruoshi/archive/2008/05/09/2420531.aspx</link><pubDate>Fri, 09 May 2008 09:46:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2008/05/09/2420531.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/2420531.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2008/05/09/2420531.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/2420531.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2420531</trackback:ping><description>解决方法： 在下载的FreeTextBox包里有aspnet_client下的FreeTextBox文件，把这个FreeTextBox文件夹上传到服务器的根目录下，然后再设置：                      &lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/2420531.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>软若石</dc:creator><title>===都是缓存惹的祸=====</title><link>http://blog.csdn.net/ruanruoshi/archive/2007/10/24/1841774.aspx</link><pubDate>Wed, 24 Oct 2007 14:43:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2007/10/24/1841774.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/1841774.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2007/10/24/1841774.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/1841774.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1841774</trackback:ping><description>

上面的代码读取文件夹里的文件，绑定到DataView上。可是删除了一个文件后，还是显示在DataView上。在页面上和代码里设置页面缓存根本就没有用。必须给xmldatasource的EnableCaching 属性 设置为 false才可以。



&lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/1841774.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>软若石</dc:creator><title>快速、大量、简单的复制两个数据库之间的数据。</title><link>http://blog.csdn.net/ruanruoshi/archive/2007/09/29/1806583.aspx</link><pubDate>Sat, 29 Sep 2007 15:58:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2007/09/29/1806583.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/1806583.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2007/09/29/1806583.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/1806583.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1806583</trackback:ping><description> protected void Button1_Click(object sender, EventArgs e)
    {
        string sString;
        string nString;

        SqlConnection sConn = new SqlConnection();
        SqlConnection nConn = new SqlConnection();

        SqlCommand sCom = new SqlCommand();
&lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/1806583.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>软若石</dc:creator><title>创建自定义类型的强类型化集合</title><link>http://blog.csdn.net/ruanruoshi/archive/2007/09/26/1801724.aspx</link><pubDate>Wed, 26 Sep 2007 15:15:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2007/09/26/1801724.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/1801724.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2007/09/26/1801724.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/1801724.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1801724</trackback:ping><description>以下创建了一个Person类型的强类型化集合。&lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/1801724.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>软若石</dc:creator><title>修改上传文件大小的限制</title><link>http://blog.csdn.net/ruanruoshi/archive/2007/09/21/1794108.aspx</link><pubDate>Fri, 21 Sep 2007 09:52:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2007/09/21/1794108.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/1794108.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2007/09/21/1794108.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/1794108.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1794108</trackback:ping><description>maxRequestLength  默认是4096K，修改此属性就可以修改上传文件的大小限制。executionTimeout 为超时时间。如果上传文件较大，应该修改此值以防超时。

&lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/1794108.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>软若石</dc:creator><title>一次上传多个文件</title><link>http://blog.csdn.net/ruanruoshi/archive/2007/09/21/1794089.aspx</link><pubDate>Fri, 21 Sep 2007 09:45:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2007/09/21/1794089.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/1794089.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2007/09/21/1794089.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/1794089.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1794089</trackback:ping><description>    protected void Button1_Click1(object sender, EventArgs e)
    {&lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/1794089.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>软若石</dc:creator><title>服务器应用程序不可用解决方案集 </title><link>http://blog.csdn.net/ruanruoshi/archive/2007/08/29/1764214.aspx</link><pubDate>Wed, 29 Aug 2007 18:04:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2007/08/29/1764214.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/1764214.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2007/08/29/1764214.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/1764214.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1764214</trackback:ping><description>服务器应用程序不可用解决方案集&lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/1764214.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>软若石</dc:creator><title>VS2005发布、生成网站时如何设置固定的dll文件名？</title><link>http://blog.csdn.net/ruanruoshi/archive/2007/08/29/1764210.aspx</link><pubDate>Wed, 29 Aug 2007 18:03:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2007/08/29/1764210.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/1764210.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2007/08/29/1764210.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/1764210.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1764210</trackback:ping><description>如果要固定生成文件名如何固定呢？有以下两种方案：&lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/1764210.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>软若石</dc:creator><title>DotNet2.0不允许线程互操作各控件的解决方法。</title><link>http://blog.csdn.net/ruanruoshi/archive/2007/01/08/1476874.aspx</link><pubDate>Mon, 08 Jan 2007 11:16:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2007/01/08/1476874.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/1476874.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2007/01/08/1476874.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/1476874.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1476874</trackback:ping><description>
        首先定义一个委托：

delegate void AgentInfo(string ip, string agentName); 

在需要的地主通过委拖还设置另一个线程的信息。&lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/1476874.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>软若石</dc:creator><title>正则表达式之全部符号解释</title><link>http://blog.csdn.net/ruanruoshi/archive/2006/04/14/663700.aspx</link><pubDate>Fri, 14 Apr 2006 17:18:00 GMT</pubDate><guid>http://blog.csdn.net/ruanruoshi/archive/2006/04/14/663700.aspx</guid><wfw:comment>http://blog.csdn.net/ruanruoshi/comments/663700.aspx</wfw:comment><comments>http://blog.csdn.net/ruanruoshi/archive/2006/04/14/663700.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/ruanruoshi/comments/commentRss/663700.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=663700</trackback:ping><description>字符  描述 
\  将下一个字符标记为一个特殊字符、或一个原义字符、或一个 向后引用、或一个八进制转义符。例如，'n' 匹配字符 "n"。'\n' 匹配一个换行符。序列 '\\' 匹配 "\" 而 "\(" 则匹配 "("。 
....................&lt;img src ="http://blog.csdn.net/ruanruoshi/aggbug/663700.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>