﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><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>博客园-【搞IT的狐狸】^_^-最新评论</title><link>http://www.cnblogs.com/huohuu/CommentsRSS.aspx</link><description>【能力】的比拼!不是谁【基础多好】而是谁【进步更快】!</description><language>zh-cn</language><pubDate>Wed, 24 Feb 2010 09:53:41 GMT</pubDate><lastBuildDate>Wed, 24 Feb 2010 09:53:41 GMT</lastBuildDate><generator>cnblogs</generator><item><title>Re:服务器刚开,凑个沙发!.NET几点你应该知道的细节!</title><link>http://www.cnblogs.com/huohuu/archive/2010/05/14/794162.html#1824498</link><dc:creator>Deper</dc:creator><author>Deper</author><pubDate>Fri, 14 May 2010 12:29:38 GMT</pubDate><guid>http://www.cnblogs.com/huohuu/archive/2010/05/14/794162.html#1824498</guid><description><![CDATA[@搞IT的狐狸
博主，有两个问题：
1.一个非常小的细节：StringBuilder这个单词你写错了，你写成了StringBullder ，另外文中有些该用双引号的代码你写成单引号了。
别怪我钻牛角尖哦，我只是正好看到了，呵呵。

2.对于
[quote]StringBullder  SB=new StringBullder();
SB.Append('&lt;script&gt;');
SB.Append('alert('可爱的傻瓜)');
SB.Append('&lt;/script&gt;');

这么做 其实并没有完全的利用好他的优点,因为script与&lt;号和&gt;号并不属于 同类型
而在做上面的操作的时候 在拼装的时候 当.SB.Append(&lt;script&gt;);的时候 会进行格式转换  Object装箱操作
影响效率 我们应该把字符串和其他字符分别开,写成下面的形式
StringBullder  SB=new StringBullder();
SB.Append('&lt;');
SB.Append('script');
SB.Append('&gt;');
SB.Append('alert');
SB.Append('(');
SB.Append('可爱的傻瓜');
SB.Append(')');
SB.Append('&lt;/');
SB.Append('script');
SB.Append('&gt;');[/quote]
我测试了一下，发现第一种方法速度比第二种快很多啊<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/huohuu/" target="_blank">Deper</a> 2010-05-14 20:29 <a href="http://www.cnblogs.com/huohuu/archive/2010/05/14/794162.html#1824498#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Re:SqlDataReader或DATATABLE DATASET 到EXCEL</title><link>http://www.cnblogs.com/huohuu/archive/2009/09/08/1224206.html#1639700</link><dc:creator>搞IT的狐狸</dc:creator><author>搞IT的狐狸</author><pubDate>Tue, 08 Sep 2009 04:41:53 GMT</pubDate><guid>http://www.cnblogs.com/huohuu/archive/2009/09/08/1224206.html#1639700</guid><description><![CDATA[bu cuo  de o <br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/huohuu/" target="_blank">搞IT的狐狸</a> 2009-09-08 12:41 <a href="http://www.cnblogs.com/huohuu/archive/2009/09/08/1224206.html#1639700#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: GridView之数据邦定(HYPERLINK)小技巧与从数据库取汇总参数传值(新手大本营)</title><link>http://www.cnblogs.com/huohuu/archive/2009/04/29/731302.html#1515362</link><dc:creator>wuxiupeng</dc:creator><author>wuxiupeng</author><pubDate>Wed, 29 Apr 2009 05:28:02 GMT</pubDate><guid>http://www.cnblogs.com/huohuu/archive/2009/04/29/731302.html#1515362</guid><description><![CDATA[我也是 刚毕业的新人 有时候也挺迷茫的！ 谢谢你对给新人提得建议！<br/>每天定一个目标 （每天要进步多少 掌握什么知识 总结）这样你会天天看到自己的进步,才会容易的坚持下去.<br/><br/>过去的习惯导致今天的你！  今天的习惯导致将来的你！<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/huohuu/" target="_blank">wuxiupeng</a> 2009-04-29 13:28 <a href="http://www.cnblogs.com/huohuu/archive/2009/04/29/731302.html#1515362#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: JS来刷新UpdatePanel</title><link>http://www.cnblogs.com/huohuu/archive/2009/04/25/1051923.html#1512470</link><dc:creator>李天时</dc:creator><author>李天时</author><pubDate>Sat, 25 Apr 2009 09:45:39 GMT</pubDate><guid>http://www.cnblogs.com/huohuu/archive/2009/04/25/1051923.html#1512470</guid><description><![CDATA[顶，短小精悍<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/huohuu/" target="_blank">李天时</a> 2009-04-25 17:45 <a href="http://www.cnblogs.com/huohuu/archive/2009/04/25/1051923.html#1512470#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: VS2005 TreeView 的 CheckBox 被点击时的引发页面回发事件 (转发)</title><link>http://www.cnblogs.com/huohuu/archive/2009/04/13/1131538.html#1501481</link><dc:creator>QFSoft</dc:creator><author>QFSoft</author><pubDate>Mon, 13 Apr 2009 01:39:57 GMT</pubDate><guid>http://www.cnblogs.com/huohuu/archive/2009/04/13/1131538.html#1501481</guid><description><![CDATA[那在UpdatePanel里要如何使用？<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/huohuu/" target="_blank">QFSoft</a> 2009-04-13 09:39 <a href="http://www.cnblogs.com/huohuu/archive/2009/04/13/1131538.html#1501481#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>
