<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="http://feeds.qzone.qq.com/rss.xsl" version="1.0"?>
<rss version="2.0" xmlns:qz="http://qzone.qq.com">
<channel>
<title><![CDATA[蝴蝶效应]]></title>
<description><![CDATA[蝴蝶效应]]></description>
<link>http://8240202.qzone.qq.com</link>
<lastBuildDate>Sun, 29 Nov 2009 06:14:10 GMT</lastBuildDate>
<generator>Qzone</generator>
<language>zh-cn</language>
<copyright>Copyright (C), 2005-2008, Tencent Tech. Co., Ltd.</copyright>
<pubDate>Tue, 17 Nov 2009 07:35:29 GMT</pubDate>

<item>
<title><![CDATA[[编程]HTML改编行距和字间距]]></title>
<link>http://8240202.qzone.qq.com/blog/1258443329</link>
<description><![CDATA[&lt;div style=&quot;letter-spacing: 10px; line-height: 200%&quot; &gt;XXXXXX&lt;/div&gt;<br>&lt;p style=&quot;letter-spacing: 10px; line-height: 200%&quot; &gt;XXXXXX&lt;/p&gt;<br> <br>&lt;style type=&quot;text/css&quot;&gt;<br>body { letter-spacing: 10px; line-height: 200%;     }<br>&lt;/style&gt;<br> <!--v:3.2--> ]]></description>
<category><![CDATA[HTML]]></category>
<author><![CDATA[8240202@qq.com(蝴蝶效应)]]></author>
<comments>http://8240202.qzone.qq.com/blog/1258443329#comment</comments>
<qz:effect>134218240</qz:effect>
<pubDate>Tue, 17 Nov 2009 07:35:29 GMT</pubDate>
<guid>http://8240202.qzone.qq.com/blog/1258443329</guid>
</item>

<item>
<title><![CDATA[[编程]带“@”的字体会使页面字体显示颠倒]]></title>
<link>http://8240202.qzone.qq.com/blog/1258363288</link>
<description><![CDATA[<wbr /><a href="http://b22.photo.store.qq.com/http_imgload.cgi?/rurl4_b=a511900e232aa225adab26a7210e04bd3bd2624141d3df4723dc8fb72646f258ff3b1b4fadf518bd94f4ef92d203df304cb4816e27773170eb90aef0f4d3d6dd2eeb64a72a3f48daf0a126464c68deacb6abab71&amp;a=27&amp;b=22" target="_blank"><img style="width:226px;height:146px;border:0;" src="http://b22.photo.store.qq.com/http_imgload.cgi?/rurl4_b=a511900e232aa225adab26a7210e04bd3bd2624141d3df4723dc8fb72646f258ff3b1b4fadf518bd94f4ef92d203df304cb4816e27773170eb90aef0f4d3d6dd2eeb64a72a3f48daf0a126464c68deacb6abab71&amp;a=27&amp;b=22" /></a><wbr /><br>body, td, th<br>{<br> font-family: <span style="color:#cc0000;line-height:1.8em;">@</span><wbr />宋体,Arial;<br> font-size: 12px;<br>}<br>带“<span style="color:#cc0000;line-height:1.8em;">@</span><wbr />”的字体会使页面字体显示颠倒，不使用“<span style="color:#cc0000;line-height:1.8em;">@</span><wbr />”就可以恢复正常！<br> <!--v:3.2--> ]]></description>
<category><![CDATA[HTML]]></category>
<author><![CDATA[8240202@qq.com(蝴蝶效应)]]></author>
<comments>http://8240202.qzone.qq.com/blog/1258363288#comment</comments>
<qz:effect>134218241</qz:effect>
<pubDate>Mon, 16 Nov 2009 09:21:28 GMT</pubDate>
<guid>http://8240202.qzone.qq.com/blog/1258363288</guid>
</item>

<item>
<title><![CDATA[[日记]“剩客”]]></title>
<link>http://8240202.qzone.qq.com/blog/1257945211</link>
<description><![CDATA[        再冷静严肃地分析下当前形势——所谓“<span style="font-weight:bold"><wbr />剩客</span><wbr />”，就是超过国家婚姻法规定的晚婚年龄，仍然保持单身未婚的男女人士。 <br>　　25—27岁为初级剩客，这些人还有勇气继续为寻找伴侣而奋斗，故称“<span style="font-weight:bold"><wbr />剩斗士</span><wbr />”；<br>　　28—31岁为中级剩客，此时属于他们的机会已经不多，又因为事业而无暇顾及，别号“<span style="font-weight:bold"><wbr />必剩客</span><wbr />”；<br>　　32—36岁为高级剩客，在残酷的职场斗争中存活下来，依然单身，被尊称为“<span style="font-weight:bold"><wbr />斗战剩佛</span><wbr />”；<br>　　到36岁以上，那就特级剩客，当尊为“<span style="font-weight:bold"><wbr />齐天大剩</span><wbr />” 。 <!--v:3.2--> ]]></description>
<category><![CDATA[个人日记]]></category>
<author><![CDATA[8240202@qq.com(蝴蝶效应)]]></author>
<comments>http://8240202.qzone.qq.com/blog/1257945211#comment</comments>
<qz:effect>134218240</qz:effect>
<pubDate>Wed, 11 Nov 2009 13:13:31 GMT</pubDate>
<guid>http://8240202.qzone.qq.com/blog/1257945211</guid>
</item>

<item>
<title><![CDATA[[编程]网页禁止右键、Ctrl键和复制功能的JS代码]]></title>
<link>http://8240202.qzone.qq.com/blog/1256887027</link>
<description><![CDATA[<br><span style="font-weight:bold"><wbr />第一种 禁止右键、Ctrl键和复制功能的JS代码</span><wbr /> <br> <br>有的网站页面禁止使用右键和复制功能，甚至连Ctrl键也禁止掉了，这个效果是如何实现的呢？其实很简单就是调用了一段JS代码而已。 <br>下面文本框中就是实现效果所需代码： <br><br>function click(e) { <br>if (document.all) { <br>if (event.button==1||event.button==2||event.button==3) { <br>oncontextmenu='return false'; <br>} <br>} <br>if (document.layers) { <br>if (e.which == 3) { <br>oncontextmenu='return false'; <br>} <br>} <br>} <br>if (document.layers) { <br>document.captureEvents(Event.MOUSEDOWN); <br>} <br>document.onmousedown=click; <br>document.oncontextmenu = new Function(&quot;return false;&quot;) <br> <br>var travel=true <br>var hotkey=17 /* hotkey即为热键的键值,是ASII码,这里99代表c键 */ <br>if (document.layers) <br>document.captureEvents(Event.KEYDOWN) <br>function gogo(e) <br>{ if (document.layers) { <br>if (e.which==hotkey&amp;&amp;travel){ <br>alert(&quot;操作错误.或许是您按错了按键!&quot;); } } <br>else if (document.all){ <br>if (event.keyCode==hotkey&amp;&amp;travel){ alert(&quot;操作错误.或许是您按错了按键!&quot;); }} <br>} <br> <br>document.onkeydown=gogo <br>把上面的代码另存为一个JS文件，然后在想实现此效果的页面用&lt;!--#include file=&quot;*.js&quot; --&gt;调用即可，*代表你另存的文件名！ <br> <br><span style="font-weight:bold"><wbr />第二种 禁用右键并自动导航</span><wbr /> <br> <br>脚本说明: <br>把如下代码加入&lt;body&gt;区域中 <br>&lt;script language=&quot;javascript&quot;&gt; <br>if (navigator.appName.indexOf(&quot;Internet Explorer&quot;) != -1) <br>document.onmousedown = noSourceExplorer; <br>function noSourceExplorer() <br>{ <br>if (event.button == 2 | event.button == 3) <br>{ <br>alert(&quot;禁止右键...去首页!&quot;); <br>location.replace(&quot;<a href="http://www.cnoppc.com" target="_blank">http://www.cnoppc.com</a><wbr />&quot;); <br>} <br>} <br>&lt;/script&gt; <br> <br><span style="font-weight:bold"><wbr />第三种 禁用右键代码</span><wbr /> <br> <br>将以下代码加到〈head〉与〈/head〉之间 <br>&lt;script language=&quot;JavaScript&quot;&gt; <br>document.oncontextmenu=new Function(&quot;event.returnValue=false;&quot;); <br>document.onselectstart=new Function(&quot;event.returnValue=false;&quot;); <br>&lt;/script&gt; <!--v:3.2--> ]]></description>
<category><![CDATA[JS]]></category>
<author><![CDATA[8240202@qq.com(蝴蝶效应)]]></author>
<comments>http://8240202.qzone.qq.com/blog/1256887027#comment</comments>
<qz:effect>134218240</qz:effect>
<pubDate>Fri, 30 Oct 2009 07:17:07 GMT</pubDate>
<guid>http://8240202.qzone.qq.com/blog/1256887027</guid>
</item>

<item>
<title><![CDATA[[编程]远程复制备份数据库之一]]></title>
<link>http://8240202.qzone.qq.com/blog/1256623896</link>
<description><![CDATA[<br>源数据库：<br> <br>sq_shengdi→右键→任务→生成脚本→下一步→选择“表”→下一步......→完成<br> <br>本地数据库执行脚本：<br> <br>执行就OK<br> <br>复制数据库到本地：<br><br>sq_shengdi→右键→到处数据→下一步→（选择源数据）使用SQL Server身份验证→下一步→（选择目标）服务器名称，使用SQL Server身份验证，数据库sq_shengdi→下一步→......完成 <!--v:3.2--> ]]></description>
<category><![CDATA[SQL]]></category>
<author><![CDATA[8240202@qq.com(蝴蝶效应)]]></author>
<comments>http://8240202.qzone.qq.com/blog/1256623896#comment</comments>
<qz:effect>134218240</qz:effect>
<pubDate>Tue, 27 Oct 2009 06:11:36 GMT</pubDate>
<guid>http://8240202.qzone.qq.com/blog/1256623896</guid>
</item>

<item>
<title><![CDATA[[编程]SQL Server 2005 (MSSQLSERVER) 服务不能启动]]></title>
<link>http://8240202.qzone.qq.com/blog/1256616283</link>
<description><![CDATA[<br>原因:VIA协议”给启用了，停用“VIA协议”问题解决。<br><br>&quot;VIA协议&quot;停用方法：开始-&gt;程序-&gt;Microsoft SQL Server 2005-&gt;配置工具-&gt;SQL Server Configuration Manager -&gt;打开后找到&quot;SQL Server 2005 网络配置&quot;-&gt;MSSQLSERVER 属性的协议   在右边的属性框中把“VIA协议”禁用即可!<br> <br> <br>Microsoft SQL Server 2005 错误233 <br>解决方法：打开“开始—所有程序—Microsoft SQL Server 2005<br>—配置工具—SQL Server 配置管理器”，<br>在弹出的窗体中，找到“SQL Server 2005 网络配置”，<br>把“MSSQLSERVER的协议”下的<br>“Named Pipes”和“TCP/IP”启用，<br>然后重新启动SQL Server 即可。 <!--v:3.2--> ]]></description>
<category><![CDATA[SQL]]></category>
<author><![CDATA[8240202@qq.com(蝴蝶效应)]]></author>
<comments>http://8240202.qzone.qq.com/blog/1256616283#comment</comments>
<qz:effect>134218240</qz:effect>
<pubDate>Tue, 27 Oct 2009 04:04:43 GMT</pubDate>
<guid>http://8240202.qzone.qq.com/blog/1256616283</guid>
</item>

<item>
<title><![CDATA[[编程]生成文件名相同的图片的显示问题和进程被占用的问题]]></title>
<link>http://8240202.qzone.qq.com/blog/1254277994</link>
<description><![CDATA[终于搞定了一个程序的问题，今天最高兴的事情。<br> <br><span style="color:#000000;line-height:1.8em;">问题：重新生成文件名相同的图片，页面显示的图片不刷新的问题。</span><wbr /> <br><span style="color:#990000;line-height:1.8em;"><span style="font-weight:bold"><wbr />尝试1：更换图片地址，指向转向，结果【失败】：</span><wbr /></span><wbr /><br>页面一代码片段：<br>image.ImageUrl = &quot;~/Images/1_04.jpg&quot;;<br>image.ImageUrl = labUrl.Text;页面二代码片段：<br>Response.Redirect(&quot;PlayerImage.aspx?ID=0&quot;);<br><span style="color:#990000;line-height:1.8em;"><span style="font-weight:bold"><wbr />尝试2：清空缓存，结果【失败】：</span><wbr /></span><wbr /><br>方法一：在页面文件的HEAD中添加<br>  &lt;HEAD&gt;<br>  &lt;META HTTP-EQUIV=&quot;Pragma&quot; CONTENT=&quot;no-cache&quot;&gt;<br>  &lt;META HTTP-EQUIV=&quot;Cache-Control&quot; CONTENT=&quot;no-cache&quot;&gt;<br>  &lt;META HTTP-EQUIV=&quot;Expires&quot; CONTENT=&quot;0&quot;&gt;<br>  &lt;/HEAD&gt;方法二 ：在后端代码中添加，建议放在 Page_Load 事件中<br>Page.Response.Buffer = false;<br>Page.Response.Cache.SetNoStore(); <span style="font-weight:bold"><wbr /><span style="color:#990000;line-height:1.8em;">尝试3：给图片路径加一个随机数，如：img.gif?12345，结果【成功】：</span><wbr /></span><wbr /><br>页面一代码片段：<br><span style="color:#ff0000;line-height:1.8em;">Random ran = new Random();<br>string num = &quot;?&quot; + ran.Next(0, 10000).ToString();</span><wbr /><span style="color:#ff0000;line-height:1.8em;">image.ImageUrl = labUrl.Text + num;</span><wbr /><br>页面二代码片段：<br><span style="color:#cc0000;line-height:1.8em;">string str1 = dr[&quot;ImageD&quot;].ToString();<br>int a = str1.LastIndexOf(&quot;?&quot;);<br>str1 = str1.Substring(0, a);</span><wbr /><span style="color:#cc0000;line-height:1.8em;">ImageUpLoadY1.ImageUrl = str1;</span><wbr /> <br>string imgPath1 = Server.MapPath(str1).ToString();<br>System.Drawing.Image image1 = System.Drawing.Image.FromFile(imgPath1);<br>ImageUpLoadY1.ImageHeight = Convert.ToInt32(image1.Height.ToString());<br>ImageUpLoadY1.ImageWidth = Convert.ToInt32(image1.Width.ToString());image1.Dispose(); <br>-----------------------------------------------------------------------------------------------------------------------------------------------------------------------<br> <br>问题：进程文件正由另一进程使用，因此该进程无法访问该文件。 <br><span style="color:#990000;line-height:1.8em;"><span style="font-weight:bold"><wbr />尝试：关闭释放图片使用的资源，结果【成功】：</span><wbr /></span><wbr /><br>System.Drawing.Image image1 = System.Drawing.Image.FromFile(imgPath1);<br><span style="color:#cc0000;line-height:1.8em;">image1.Dispose();       //释放图片使用的资源；</span><wbr /> <br>Stream StreamObject = fileUpload.PostedFile.InputStream;<br><span style="color:#cc0000;line-height:1.8em;">StreamObject.Close();        //释放图片使用的资源；</span><wbr /> <!--v:3.2--> ]]></description>
<category><![CDATA[C#]]></category>
<author><![CDATA[8240202@qq.com(蝴蝶效应)]]></author>
<comments>http://8240202.qzone.qq.com/blog/1254277994#comment</comments>
<qz:effect>134218240</qz:effect>
<pubDate>Wed, 30 Sep 2009 02:33:14 GMT</pubDate>
<guid>http://8240202.qzone.qq.com/blog/1254277994</guid>
</item>

<item>
<title><![CDATA[[编程].JPG正由另一进程使用,因此该进程无法访问该文件。]]></title>
<link>http://8240202.qzone.qq.com/blog/1254123029</link>
<description><![CDATA[切记关闭释放资源：<br>System.Drawing.Image image1 = System.Drawing.Image.FromFile(imgPath1);<br><span style="color:#990000;line-height:1.8em;">image1.Dispose();</span><wbr /> <br>Stream StreamObject = fileUpload.PostedFile.InputStream;<br><span style="color:#990000;line-height:1.8em;">StreamObject.Close();</span><wbr /> <!--v:3.2--> ]]></description>
<category><![CDATA[C#]]></category>
<author><![CDATA[8240202@qq.com(蝴蝶效应)]]></author>
<comments>http://8240202.qzone.qq.com/blog/1254123029#comment</comments>
<qz:effect>134218240</qz:effect>
<pubDate>Mon, 28 Sep 2009 07:30:29 GMT</pubDate>
<guid>http://8240202.qzone.qq.com/blog/1254123029</guid>
</item>

<item>
<title><![CDATA[[日记]没有比这更美的]]></title>
<link>http://8240202.qzone.qq.com/blog/1252992830</link>
<description><![CDATA[简直是心灰意冷了，自从以前看了《搏击俱乐部》，至今都没有找到比这片子更美的！<br><wbr /><a href="http://b22.photo.store.qq.com/http_imgload.cgi?/rurl4_b=a511900e232aa225adab26a7210e04bd454fdc779383b31eb740b69159817a3a63d6005893436d70dadb99ce63d601b6260943bbfbba9f987a91f57cc7588b05035c0e3afe6337079bd28acc69acf4fa461acd4f" target="_blank"><img style="width:606px;height:800px;border:0;" src="http://b22.photo.store.qq.com/http_imgload.cgi?/rurl4_b=a511900e232aa225adab26a7210e04bd454fdc779383b31eb740b69159817a3a63d6005893436d70dadb99ce63d601b6260943bbfbba9f987a91f57cc7588b05035c0e3afe6337079bd28acc69acf4fa461acd4f" /></a><wbr /> <!--v:3.2--> ]]></description>
<category><![CDATA[个人日记]]></category>
<author><![CDATA[8240202@qq.com(蝴蝶效应)]]></author>
<comments>http://8240202.qzone.qq.com/blog/1252992830#comment</comments>
<qz:effect>134218241</qz:effect>
<pubDate>Tue, 15 Sep 2009 05:33:50 GMT</pubDate>
<guid>http://8240202.qzone.qq.com/blog/1252992830</guid>
</item>

<item>
<title><![CDATA[[日记]You Are My Sunshine]]></title>
<link>http://8240202.qzone.qq.com/blog/1252472645</link>
<description><![CDATA[<span style="font-weight:bold"><wbr />You are my sunshine my only sunshine <br>You make me happy when skies are grey <br>You'll never know dear how much I love you <br>Please don't take my sunshine away</span><wbr /> <br><span style="font-weight:bold"><wbr />The other night dear when I was sleeping <br>I dreamed I held you in my arms <br>When I awoke dear I was mistaken <br>So I held my head and cried </span><wbr /> <span style="font-style:italic"><wbr /></span><wbr /> <!--v:3.2--> ]]></description>
<category><![CDATA[个人日记]]></category>
<author><![CDATA[8240202@qq.com(蝴蝶效应)]]></author>
<comments>http://8240202.qzone.qq.com/blog/1252472645#comment</comments>
<qz:effect>134218240</qz:effect>
<pubDate>Wed, 09 Sep 2009 05:04:05 GMT</pubDate>
<guid>http://8240202.qzone.qq.com/blog/1252472645</guid>
</item>

</channel>
</rss>

