﻿<?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>博客园-冷风.NET</title><link>http://www.cnblogs.com/helimin19/</link><description>　　　　－－－默默無聞</description><language>zh-cn</language><lastBuildDate>Mon, 06 Jul 2009 11:10:45 GMT</lastBuildDate><pubDate>Mon, 06 Jul 2009 11:10:45 GMT</pubDate><ttl>60</ttl><item><title>假如現在讓你去說服客戶使用asp.net2.0開發系統，你會怎麼說服呢？</title><link>http://www.cnblogs.com/helimin19/archive/2006/03/11/347960.html</link><dc:creator>冷风.net</dc:creator><author>冷风.net</author><pubDate>Sat, 11 Mar 2006 08:12:00 GMT</pubDate><guid>http://www.cnblogs.com/helimin19/archive/2006/03/11/347960.html</guid><wfw:comment>http://www.cnblogs.com/helimin19/comments/347960.html</wfw:comment><comments>http://www.cnblogs.com/helimin19/archive/2006/03/11/347960.html#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://www.cnblogs.com/helimin19/comments/commentRss/347960.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/helimin19/services/trackbacks/347960.html</trackback:ping><description><![CDATA[<P>如題<IMG height=19 src="http://www.cnblogs.com/Emoticons/coffee.gif" width=19 border=0></P><img src ="http://www.cnblogs.com/helimin19/aggbug/347960.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/48008/" target="_blank">IBM发布全球首款开源智能编译器</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>對象化javascript日期控件</title><link>http://www.cnblogs.com/helimin19/archive/2006/01/09/313686.html</link><dc:creator>冷风.net</dc:creator><author>冷风.net</author><pubDate>Mon, 09 Jan 2006 03:07:00 GMT</pubDate><guid>http://www.cnblogs.com/helimin19/archive/2006/01/09/313686.html</guid><wfw:comment>http://www.cnblogs.com/helimin19/comments/313686.html</wfw:comment><comments>http://www.cnblogs.com/helimin19/archive/2006/01/09/313686.html#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://www.cnblogs.com/helimin19/comments/commentRss/313686.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/helimin19/services/trackbacks/313686.html</trackback:ping><description><![CDATA[摘要: 今天寫了個javascript的日期控件，放上來以便日後查用(支持Firefox)：1. UCtrl_Date.js文件123varsiteName="/Test2";//虛擬目錄名稱;只在顯示圖片(上一年，上一月，下一年，下一月)時有用45//用戶控件日期6functionUCtrlDate()7{8this.ID="UCtrlDate1";9this.Width="100%";10this.Y&nbsp;&nbsp;<a href='http://www.cnblogs.com/helimin19/archive/2006/01/09/313686.html'>阅读全文</a><img src ="http://www.cnblogs.com/helimin19/aggbug/313686.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/48007/" target="_blank">IE颓势不减 微软下月公布最新浏览器架构</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>工作排程</title><link>http://www.cnblogs.com/helimin19/archive/2005/09/10/234039.html</link><dc:creator>冷风.net</dc:creator><author>冷风.net</author><pubDate>Sat, 10 Sep 2005 10:33:00 GMT</pubDate><guid>http://www.cnblogs.com/helimin19/archive/2005/09/10/234039.html</guid><wfw:comment>http://www.cnblogs.com/helimin19/comments/234039.html</wfw:comment><comments>http://www.cnblogs.com/helimin19/archive/2005/09/10/234039.html#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://www.cnblogs.com/helimin19/comments/commentRss/234039.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/helimin19/services/trackbacks/234039.html</trackback:ping><description><![CDATA[摘要: 最近在一個專案中因客戶要求數據能夠自行導入導出，本來這個是准務用SQL那個自帶的排程的，但TMD客戶不要，要求一定在WEB上可以設置,啟動。這不郁悶，得靠自己寫了，開始在網上找這方面的資料，TNND不知咱搞的沒找到氣憤(大概是我不會找資料吧，沒讀過研，哈哈自我安慰下); 經過幾天的瞎忙，終於完成了，自己也試了下可以運行，速度應在自己機子上試的沒感覺，哈哈至少導入導出這裡就不說了，那個相信都家都玩過&nbsp;&nbsp;<a href='http://www.cnblogs.com/helimin19/archive/2005/09/10/234039.html'>阅读全文</a><img src ="http://www.cnblogs.com/helimin19/aggbug/234039.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/48002/" target="_blank">竞争日趋激烈 微软欲借 Windows 7 扭转战局</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>防止圖片在WEB頁面上下載</title><link>http://www.cnblogs.com/helimin19/archive/2005/08/11/212814.html</link><dc:creator>冷风.net</dc:creator><author>冷风.net</author><pubDate>Thu, 11 Aug 2005 11:40:00 GMT</pubDate><guid>http://www.cnblogs.com/helimin19/archive/2005/08/11/212814.html</guid><wfw:comment>http://www.cnblogs.com/helimin19/comments/212814.html</wfw:comment><comments>http://www.cnblogs.com/helimin19/archive/2005/08/11/212814.html#Feedback</comments><slash:comments>23</slash:comments><wfw:commentRss>http://www.cnblogs.com/helimin19/comments/commentRss/212814.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/helimin19/services/trackbacks/212814.html</trackback:ping><description><![CDATA[<P>今天應項目的要求做了個防止IE中圖片被下載的東東!<BR>需說不是絕對的，但對於一般人來說來是可以的---個人認為：)<BR>下面來看看實現個程吧!<BR><BR>1. 前台界面:<BR><IMG src="http://www.cnblogs.com/images/cnblogs_com/helimin19/1111.jpg" border=0><BR></P>
<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
<DIV><SPAN style="COLOR: #008080">&nbsp;1</SPAN><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">asp:DataList&nbsp;</SPAN><SPAN style="COLOR: #ff0000">ID</SPAN><SPAN style="COLOR: #0000ff">="dgClient"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;Runat</SPAN><SPAN style="COLOR: #0000ff">="server"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;RepeatColumns</SPAN><SPAN style="COLOR: #0000ff">="2"</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;2</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">ItemStyle&nbsp;</SPAN><SPAN style="COLOR: #ff0000">Width</SPAN><SPAN style="COLOR: #0000ff">="50%"</SPAN><SPAN style="COLOR: #0000ff">&gt;&lt;/</SPAN><SPAN style="COLOR: #800000">ItemStyle</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;3</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">ItemTemplate</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;4</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">table</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;5</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">tr</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;6</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">td</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;7</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">img&nbsp;</SPAN><SPAN style="COLOR: #ff0000">src</SPAN><SPAN style="COLOR: #0000ff">='./ShowImage.aspx?PATH=&lt;%#&nbsp;</SPAN><SPAN style="COLOR: #ff0000">Server.UrlEncode(DataBinder.Eval(Container.DataItem,"DTSmallImage").ToString())%</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000">'&nbsp;border='0'&nbsp;width="133"&nbsp;height="100"&nbsp;/&gt;<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;8</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">td</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;9</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">td&nbsp;</SPAN><SPAN style="COLOR: #ff0000">class</SPAN><SPAN style="COLOR: #0000ff">="intro0"</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">10</SPAN><SPAN style="COLOR: #000000"><IMG id=Codehighlighter1_346_392_Open_Image onclick="this.style.display='none'; Codehighlighter1_346_392_Open_Text.style.display='none'; Codehighlighter1_346_392_Closed_Image.style.display='inline'; Codehighlighter1_346_392_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_346_392_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_346_392_Closed_Text.style.display='none'; Codehighlighter1_346_392_Open_Image.style.display='inline'; Codehighlighter1_346_392_Open_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ContractedBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #ffff00">&lt;%</SPAN><SPAN id=Codehighlighter1_346_392_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_346_392_Open_Text><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">#DataBinder.</SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">Eval</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(Container.DataItem,</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">DTTitle</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)&nbsp;</SPAN></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #ffff00">%&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">11</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">br</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">12</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;會員免費下載</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">br</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">13</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">a&nbsp;</SPAN><SPAN style="COLOR: #ff0000">href</SPAN><SPAN style="COLOR: #0000ff">='&lt;%#DataBinder.Eval(Container.DataItem,"DTBigImage")&nbsp;</SPAN><SPAN style="COLOR: #ff0000">%</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000">'&gt;下載1024*768&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">a</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">14</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">br</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">15</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">a&nbsp;</SPAN><SPAN style="COLOR: #ff0000">href</SPAN><SPAN style="COLOR: #0000ff">='&lt;%#DataBinder.Eval(Container.DataItem,"DTSmallImage")&nbsp;</SPAN><SPAN style="COLOR: #ff0000">%</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000">'&gt;下載800*600&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">a</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">16</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">br</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">17</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">td</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">18</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">tr</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">19</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">table</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">20</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">ItemTemplate</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">21</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">asp:DataList</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN></DIV></DIV><BR>其主要為以下這句代碼：<BR>
<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
<DIV><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">img&nbsp;</SPAN><SPAN style="COLOR: #ff0000">src</SPAN><SPAN style="COLOR: #0000ff">='./ShowImage.aspx?PATH=&lt;%#&nbsp;</SPAN><SPAN style="COLOR: #ff0000">Server.UrlEncode(DataBinder.Eval(Container.DataItem,"DTSmallImage").ToString())%</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000">'&nbsp;border='0'&nbsp;/&gt;</SPAN></DIV></DIV>其上語句是通過ShowImage.aspx文件來緩存輸出圖片，以達到顯示的只是圖片的影象效果，而不存在其實際圖片.所以在HTML代碼中看到的也只是&lt;img src='./ShowImage.aspx?PATH=2005811184295.jpg' border='0'&gt;，從而因無法獲得圖片路徑而不能下載，當然一般來說截頻可以獲得到對應的圖片，那麼下面看看<BR>我是怎麼防止用戶截頻來獲得正確的圖片的吧<BR>2.ShowImage.aspx文件的後台代碼<BR>
<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
<DIV><SPAN style="COLOR: #008080">&nbsp;1</SPAN><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #0000ff">string</SPAN><SPAN style="COLOR: #000000">&nbsp;path&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;Request.QueryString[</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">PATH</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">];<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;2</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">string</SPAN><SPAN style="COLOR: #000000">&nbsp;EArtURL&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;ConfigurationSettings.AppSettings[</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">EArtURL</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">];<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;3</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>path&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;EArtURL&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">/NetWorkMamage1/DeskTopSmallImages/</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;path;<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;4</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>System.Net.WebClient&nbsp;client&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">&nbsp;System.Net.WebClient();<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;5</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">string</SPAN><SPAN style="COLOR: #000000">&nbsp;ExpFileName&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;FileLib.GetFileExName(path);<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;6</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">string</SPAN><SPAN style="COLOR: #000000">&nbsp;LocalPath&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;Server.MapPath(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">./new111.</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;ExpFileName&nbsp;);<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;7</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">(System.IO.File.Exists(LocalPath))<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;8</SPAN><SPAN style="COLOR: #000000"><IMG id=Codehighlighter1_378_412_Open_Image onclick="this.style.display='none'; Codehighlighter1_378_412_Open_Text.style.display='none'; Codehighlighter1_378_412_Closed_Image.style.display='inline'; Codehighlighter1_378_412_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_378_412_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_378_412_Closed_Text.style.display='none'; Codehighlighter1_378_412_Open_Image.style.display='inline'; Codehighlighter1_378_412_Open_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN id=Codehighlighter1_378_412_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_378_412_Open_Text><SPAN style="COLOR: #000000">{<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;9</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;FileLib.DeleteFile(LocalPath);<BR></SPAN><SPAN style="COLOR: #008080">10</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">11</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>client.DownloadFile(path,LocalPath);</SPAN></DIV></DIV>因以上圖片都是放在其它WEB站台下面，所以采用以上簡單的代碼來保存到<BR>當前站台下面的臨時文件中，圖上為當前目錄下的new111.jpg,因顯示的圖片是不確定的個數也不確定，所以保存前先刪除掉其下原來的臨時文件，已保正<BR>當前臨時文件為最新的文件<BR>
<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
<DIV><SPAN style="COLOR: #008080">1</SPAN><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">System.IO.StreamReader&nbsp;reader&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">&nbsp;System.IO.StreamReader(LocalPath);<BR></SPAN><SPAN style="COLOR: #008080">2</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">3</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>System.IO.Stream&nbsp;stream&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;reader.BaseStream;<BR></SPAN><SPAN style="COLOR: #008080">4</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">byte</SPAN><SPAN style="COLOR: #000000">[]&nbsp;bys&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">byte</SPAN><SPAN style="COLOR: #000000">[stream.Length];<BR></SPAN><SPAN style="COLOR: #008080">5</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>stream.Read(bys,</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">,(</SPAN><SPAN style="COLOR: #0000ff">int</SPAN><SPAN style="COLOR: #000000">)stream.Length);<BR></SPAN><SPAN style="COLOR: #008080">6</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>System.IO.MemoryStream&nbsp;memory&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">&nbsp;System.IO.MemoryStream(bys,</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">,(</SPAN><SPAN style="COLOR: #0000ff">int</SPAN><SPAN style="COLOR: #000000">)stream.Length);<BR></SPAN><SPAN style="COLOR: #008080">7</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>stream.Close();</SPAN></DIV></DIV>如前台所示，因在一個頁面要顯示多個圖片，而臨時文件又只有一個，如沒<BR>有以上代碼那麼在下載第二個臨時文件時，定會因第一個文件正在使用而無<BR>法保存，怎麼說：大家想想一般緩沖輸出圖片都是將這個圖片所占的硬盤空<BR>間讀入到內存中再輸出，因現在只存在一個臨時圖片文件，後來的文件確需<BR>要刪除先前的文件以保持最新的操作(即DataList每次邦定時都會調用ShowImage.aspx文件來顯示當前圖片)，但當前文件雙在使用中需無法刪除或<BR>保存，所以本人才采用以上代碼來創建當前圖片文件的一個備份放入MemoryStream,再結束對實際圖片的調用stream.Close();<BR>
<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
<DIV><SPAN style="COLOR: #008080">1</SPAN><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">ImagesEntry.ScaleImagesLib&nbsp;scanle&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">&nbsp;ImagesEntry.ScaleImagesLib();<BR></SPAN><SPAN style="COLOR: #008080">2</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">(scanle.Create(memory,</SPAN><SPAN style="COLOR: #000000">133</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="COLOR: #000000">100</SPAN><SPAN style="COLOR: #000000">))<BR></SPAN><SPAN style="COLOR: #008080">3</SPAN><SPAN style="COLOR: #000000"><IMG id=Codehighlighter1_112_138_Open_Image onclick="this.style.display='none'; Codehighlighter1_112_138_Open_Text.style.display='none'; Codehighlighter1_112_138_Closed_Image.style.display='inline'; Codehighlighter1_112_138_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_112_138_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_112_138_Closed_Text.style.display='none'; Codehighlighter1_112_138_Open_Image.style.display='inline'; Codehighlighter1_112_138_Open_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ContractedBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN id=Codehighlighter1_112_138_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_112_138_Open_Text><SPAN style="COLOR: #000000">{<BR></SPAN><SPAN style="COLOR: #008080">4</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scanle.Show();<BR></SPAN><SPAN style="COLOR: #008080">5</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">6</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">(scanle.LastError</SPAN><SPAN style="COLOR: #000000">!=</SPAN><SPAN style="COLOR: #0000ff">null</SPAN><SPAN style="COLOR: #000000">)<BR></SPAN><SPAN style="COLOR: #008080">7</SPAN><SPAN style="COLOR: #000000"><IMG id=Codehighlighter1_175_195_Open_Image onclick="this.style.display='none'; Codehighlighter1_175_195_Open_Text.style.display='none'; Codehighlighter1_175_195_Closed_Image.style.display='inline'; Codehighlighter1_175_195_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_175_195_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_175_195_Closed_Text.style.display='none'; Codehighlighter1_175_195_Open_Image.style.display='inline'; Codehighlighter1_175_195_Open_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ContractedBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN id=Codehighlighter1_175_195_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_175_195_Open_Text><SPAN style="COLOR: #000000">{<BR></SPAN><SPAN style="COLOR: #008080">8</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">輸出出錯圖片</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #008080">9</SPAN><SPAN style="COLOR: #008000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top></SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></SPAN></DIV></DIV>
<P>以上代碼是對圖片對進縮放處理<BR>還可以對要顯示的圖片加上透明，水印，模糊處理等等,總之能讓其截頻出<BR>也達不到實際的效果。<BR><BR>以上是偶的一定愚見&nbsp;&nbsp;&nbsp; </P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 還望大多多指正：)&nbsp; </P><img src ="http://www.cnblogs.com/helimin19/aggbug/212814.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/48001/" target="_blank">上海电信计划2012年80%用户实现100M带宽</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>今天從新整理的大小寫數據轉換</title><link>http://www.cnblogs.com/helimin19/archive/2005/07/05/186539.html</link><dc:creator>冷风.net</dc:creator><author>冷风.net</author><pubDate>Tue, 05 Jul 2005 03:40:00 GMT</pubDate><guid>http://www.cnblogs.com/helimin19/archive/2005/07/05/186539.html</guid><wfw:comment>http://www.cnblogs.com/helimin19/comments/186539.html</wfw:comment><comments>http://www.cnblogs.com/helimin19/archive/2005/07/05/186539.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/helimin19/comments/commentRss/186539.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/helimin19/services/trackbacks/186539.html</trackback:ping><description><![CDATA[摘要: 目前試用了個還沒有發現什麼問題，感覺還行吧，所以發來供大家參考1. 引用命名空間：using System.Text.RegularExpressions;(操作正則表達式)2. 小寫轉大寫publicstaticstringsToh(stringch){stringstr="";switch(ch){case"1":str="壹";break;case"2":str="貳";break;case&nbsp;&nbsp;<a href='http://www.cnblogs.com/helimin19/archive/2005/07/05/186539.html'>阅读全文</a><img src ="http://www.cnblogs.com/helimin19/aggbug/186539.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/48000/" target="_blank">数万名网友签名抗议星际争霸2取消局域网功能</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>常用的XPATH說明</title><link>http://www.cnblogs.com/helimin19/archive/2005/05/28/164180.html</link><dc:creator>冷风.net</dc:creator><author>冷风.net</author><pubDate>Sat, 28 May 2005 08:34:00 GMT</pubDate><guid>http://www.cnblogs.com/helimin19/archive/2005/05/28/164180.html</guid><wfw:comment>http://www.cnblogs.com/helimin19/comments/164180.html</wfw:comment><comments>http://www.cnblogs.com/helimin19/archive/2005/05/28/164180.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/helimin19/comments/commentRss/164180.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/helimin19/services/trackbacks/164180.html</trackback:ping><description><![CDATA[<H3><SPAN style="COLOR: #ff0000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 今天整理了一下以前用過的XPATH以供大家參考，以下如有不足或錯誤的地方還請各位提出，已便改正。也希望大家能夠將卻少的部份添加進來.</SPAN> <BR>
<TABLE class="" title="" style="TEXT-INDENT: 8px" borderColor=#008000 cellSpacing=0 cellPadding=0 width="100%" summary="" border=1>
<TBODY>
<TR>
<TD vAlign=top width="100%" colSpan=3>
<DIV align=center>常用的XPATH</DIV></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>表達式</DIV></TD>
<TD vAlign=top width="66%">
<DIV>說明</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>//</DIV></TD>
<TD vAlign=top width="66%">
<DIV>表示返回XML文档中的所有符合查找准则的元素，而忽略文档中元素的位置级别</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>/</DIV></TD>
<TD vAlign=top width="66%">
<DIV>表示絕對路徑</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>News/Links/name</DIV></TD>
<TD vAlign=top width="66%">
<DIV>表示相對路徑</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>./</DIV></TD>
<TD vAlign=top width="66%">
<DIV>表示當前節點</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>../</DIV></TD>
<TD vAlign=top width="66%">
<DIV>表示父節點</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>*</DIV></TD>
<TD vAlign=top width="66%">
<DIV>表所所有元素</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>or</DIV></TD>
<TD vAlign=top width="66%">
<DIV>或</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>And </DIV></TD>
<TD vAlign=top width="66%">
<DIV>與</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>其它表達式</DIV></TD>
<TD vAlign=top width="66%">
<DIV>=，!=，&lt;，&gt;，&gt;=，&lt;=</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>Text()</DIV></TD>
<TD vAlign=top width="66%">
<DIV>文本</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>Node()</DIV></TD>
<TD vAlign=top width="66%">
<DIV>節點</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV><EM>number</EM> <B>last</B>() </DIV></TD>
<TD vAlign=top width="66%">
<DIV><CODE>last</CODE> 函数返回一个数字，该数字等於从表达式求值上下文中的上下文大小 (即返回節點個數) </DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV><EM>number</EM> <B>position</B>() </DIV></TD>
<TD vAlign=top width="66%">
<DIV>position函数返回一个数字，该数字等於从表达式求值上下文中的上下文位置(即當前位置)</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV><EM>number</EM> <B>count</B>(<VAR>node-set</VAR>)<EM></EM> </DIV></TD>
<TD vAlign=top width="66%">
<DIV>count 函数返回在参数node-set中节点的个数。</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV><EM>node-set</EM> <B>id</B>(<VAR>object</VAR>)<EM></EM> </DIV></TD>
<TD vAlign=top width="66%">
<DIV>&nbsp;</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV><EM>string</EM> <B>string</B>(<VAR>object?</VAR>)<EM></EM> </DIV></TD>
<TD vAlign=top width="66%">
<DIV>string 函数将对象依下列各项转换成字符</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV><EM>string</EM> <B>concat</B>(<VAR>string</VAR>, <VAR>string</VAR>, <VAR>string</VAR>*)<EM><B></B></EM> </DIV></TD>
<TD vAlign=top width="66%">
<DIV>concat 函数返回它的参数的联结。</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV><EM>boolean</EM> <B>starts-with</B>(<VAR>string</VAR>, <VAR>string</VAR>)<EM></EM> </DIV></TD>
<TD vAlign=top width="66%">
<DIV>如果第一个字符串参数以第二个字符串参数起头，starts-with 函数返回真，否则，返回假。</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV><EM>boolean</EM> <B>contains</B>(<VAR>string</VAR>, <VAR>string</VAR>) </DIV></TD>
<TD vAlign=top width="66%">
<DIV>如果第一个字符串参数包含第二个字符串参数，contains 函数返回真，否则，返回假。</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV><EM>string</EM> <B>substring-before</B>(<VAR>string</VAR>, <VAR>string</VAR>)<EM></EM> </DIV></TD>
<TD vAlign=top width="66%">
<DIV>substring-before 函数返回第一个字符串参数在第二个参数首次出现之前的子字符串，或者，如果第一个字符串参数不包含第二个字符串参数则返回空字符串。例如，substring-before("1999/04/01","/") 返回 1999。</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV><EM>string</EM> <B>substring-after</B>(<VAR>string</VAR>, <VAR>string</VAR>)<EM></EM> </DIV></TD>
<TD vAlign=top width="66%">
<DIV>substring-after 函数返回第一个字符串参数在第二个参数首次出现之后的子字符串，或者，如果第一个字符串参数不包含第二个字符串参数则返回空字符串。例如， substring-after("1999/04/01","/") 返回 04/01，而 substring-after("1999/04/01","19") 返回 99/04/01。</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV><EM>string</EM> <B>substring</B>( <VAR>string</VAR> , <VAR>number</VAR> , <VAR>number</VAR>? )<EM></EM> </DIV></TD>
<TD vAlign=top width="66%">
<DIV>substring 函数返回第一个字符串参数从第二个参数所指定的位置开始，以第三个参数为长度的子字符串。例如， substring("12345",2,3) 返回 "234"。如果没有第三个参数，则返回从第二个参数所指定的位置开始直到结束。例如， substring("12345",2) 返回"2345"。</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV><EM>number</EM> <B>string-length</B>( <VAR>string</VAR>? )<EM></EM> </DIV></TD>
<TD vAlign=top width="66%">
<DIV>string-length 返回字符串中字符的个数。如果参数省略，则缺省为一个上下文节点再转换成字符串，也就是上下文节点的 字串值。 </DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV><EM>string</EM> <B>normalize-space</B>(<VAR>string</VAR>?)<EM></EM> </DIV></TD>
<TD vAlign=top width="66%">
<DIV>normalize-space 函数返回空白符规范化 后的参数字符串，该规范化是清除领头及结尾的空白字以及用一个空白符替换连续的空白符。空白符字符与 XML 中的产生式 S 所允许的是一样的。如果参数省略，则缺省为一个上下文节点再转换成字符串，也就是上下文节点的 字串值。 </DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV><EM>string</EM> <B>translate</B>(<VAR>string</VAR>, <VAR>string</VAR>, <VAR>string</VAR>)<EM></EM> </DIV></TD>
<TD vAlign=top width="66%">
<DIV>translate 函数返回第一个参数的字符串，其中有在第二个参数中出现的字符都被在第三个参数中相对应位置的字符所替换。例如，translate("bar","abc","ABC") 返回字符串 BAr。如果，第二个参数里的字符在第三个参数的相对应位置没有字符（因为第二个参数里的字符串比第三个参数的字符串长），那么，第一个参数里的那个字符将被移去。例如，translate("--aaa--","abc-","ABC") 返回 "AAA"。如果在第二个参数里的字符出现超过一次，那么，第一次的出现决定替换的字符。如果第三个参数里的字符串比第二个参数的字符串长， 那么，多余的字符将被忽略。</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV><EM>boolean</EM> <B>not</B>(<VAR>boolean</VAR>)<EM></EM> </DIV></TD>
<TD vAlign=top width="66%">
<DIV>如果参数为真 not 函数返回真，否则返回假。</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV><EM>boolean</EM> <B>true</B>()<EM></EM> </DIV></TD>
<TD vAlign=top width="66%">
<DIV>true 函数返回真。</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV><EM>boolean</EM> <B>false</B>()<EM></EM> </DIV></TD>
<TD vAlign=top width="66%">
<DIV>The false 函数返回假。</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV><EM>number</EM> <B>number</B>(<VAR>object</VAR>?)<EM></EM> </DIV></TD>
<TD vAlign=top width="66%">
<DIV>number 函数参数依下列各项转换成数字</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV><EM>number</EM> <B>sum</B>(<VAR>node-set</VAR>)<EM></EM> </DIV></TD>
<TD vAlign=top width="66%">
<DIV>对於在参数节点集合的每个节点，sum 函数返回节点字串值转换成数字后的和。 </DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV><EM>number</EM> <B>floor</B>(<VAR>number</VAR>)<EM></EM> </DIV></TD>
<TD vAlign=top width="66%">
<DIV>floor 函数返回不大於参数的整数的最大数 （最接近于正无穷大）</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV><EM>number</EM> <B>ceiling</B>(<VAR>number</VAR>)<EM></EM> </DIV></TD>
<TD vAlign=top width="66%">
<DIV>ceiling 函数返回不小於参数的整数的最小数 （最接近于负无穷大</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV><EM>number</EM> <B>round</B>(<VAR>number</VAR>)<EM></EM> </DIV></TD>
<TD vAlign=top width="66%">
<DIV>round 函数返回最接近于参数的整数。</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>//*</DIV></TD>
<TD vAlign=top width="66%">
<DIV>獲得所有節點</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>../*</DIV></TD>
<TD vAlign=top width="66%">
<DIV>獲得當前節點的父節點的所有節點</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>//Links</DIV></TD>
<TD vAlign=top width="66%">
<DIV>獲得所有的Links節點</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>//Links[name=&#8221;網易&#8221;]</DIV></TD>
<TD vAlign=top width="66%">
<DIV>獲得子節點name的文本為&#8220;網易&#8221;的所有Links節點</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>//Links[@id=&#8221;1&#8221;]</DIV></TD>
<TD vAlign=top width="66%">
<DIV>獲得屬性ID=1的所有Links節點</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>//*[name=&#8221;新浪&#8221;]</DIV></TD>
<TD vAlign=top width="66%">
<DIV>獲得子節點name的文本為&#8220;新浪&#8221;的所有節點</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>//*[@id=&#8221;1&#8221;]</DIV></TD>
<TD vAlign=top width="66%">
<DIV>獲得屬性ID=1的所有節點</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>//*[@id]</DIV></TD>
<TD vAlign=top width="66%">
<DIV>獲得存在屬生ID的所有節點點</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>//*[name]</DIV></TD>
<TD vAlign=top width="66%">
<DIV>獲得存在子節點name的所有節點</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>//Links[序號]</DIV></TD>
<TD vAlign=top width="66%">
<DIV>獲得返回的N個Links節點中的第序號個節點</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>//Links[1 or 2]</DIV></TD>
<TD vAlign=top width="66%">
<DIV>獲得返回的N個Links節點的中第一個和第二個節點</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>//*[name=&#8221;網易&#8221; and @id=&#8221;1&#8221;]</DIV></TD>
<TD vAlign=top width="66%">
<DIV>獲得所有子點節name的文本為&#8220;網易&#8221; 且自己的屬生id=&#8220;1&#8221;的節點</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>//text()</DIV></TD>
<TD vAlign=top width="66%">
<DIV>選擇所有的正文節點(即葉子節點)</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>//Links[position()=last()]</DIV></TD>
<TD vAlign=top width="66%">
<DIV>獲得返回的N個Links節點中的最後一個節點</DIV>
<DIV>等同於//Links[last()]</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>//*[contains(name,&#8221;新&#8221;)]</DIV></TD>
<TD vAlign=top width="66%">
<DIV>獲得子節點name的文本中包含&#8220;新&#8221;的所有節點</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>//Links[1]</DIV></TD>
<TD vAlign=top width="66%">
<DIV>獲得返回的N個Links節點中的第一個節點</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>//Links[1]/name[1]</DIV></TD>
<TD vAlign=top width="66%">
<DIV>獲得第一個Links的第一個name節點</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>//Links//name</DIV></TD>
<TD vAlign=top width="66%">
<DIV>獲得所有Links節點下的所有name節點</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>//*[@id&gt;1]</DIV></TD>
<TD vAlign=top width="66%">
<DIV>獲得屬性ID&gt;1的所有節點</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>//*[number(@id)+1&gt;1]</DIV></TD>
<TD vAlign=top width="66%">
<DIV>獲得屬生ID的值加1&gt;1的所有節點</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>//*[number(text())&gt;1]</DIV></TD>
<TD vAlign=top width="66%">
<DIV>獲得文本節點的文本值大於1的所有節點</DIV></TD>
<TD></TD></TR>
<TR>
<TD vAlign=top width="33%">
<DIV>//*[(number(text()) mode 2)=1]</DIV></TD>
<TD vAlign=top width="66%">
<DIV>獲得文本節點的文本值為基數的所有節點</DIV></TD>
<TD></TD></TR></TBODY></TABLE></H3><img src ="http://www.cnblogs.com/helimin19/aggbug/164180.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47999/" target="_blank">Silverlight打造杰克逊纪念专题</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>XmlHttp在DoNet中的完全应用---前/后台完成分离篇</title><link>http://www.cnblogs.com/helimin19/archive/2005/03/26/126313.html</link><dc:creator>冷风.net</dc:creator><author>冷风.net</author><pubDate>Sat, 26 Mar 2005 08:54:00 GMT</pubDate><guid>http://www.cnblogs.com/helimin19/archive/2005/03/26/126313.html</guid><wfw:comment>http://www.cnblogs.com/helimin19/comments/126313.html</wfw:comment><comments>http://www.cnblogs.com/helimin19/archive/2005/03/26/126313.html#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://www.cnblogs.com/helimin19/comments/commentRss/126313.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/helimin19/services/trackbacks/126313.html</trackback:ping><description><![CDATA[摘要: 对于XmlHttp的介绍见http://www.cnblogs.com/helimin19/archive/2004/12/03/72519.aspx ， 本文主要实现了在donet中，前台界面与后台程序完成分离，以达到互不影响的效果，从而降低了前台后台之前的偶合度。(当然这种效果也只是相对的)，就果我下面举的例子来说吧，会员注册和修改会员资料是在一个页面上显示。注册可以达到完成分离(后台程序可以&nbsp;&nbsp;<a href='http://www.cnblogs.com/helimin19/archive/2005/03/26/126313.html'>阅读全文</a><img src ="http://www.cnblogs.com/helimin19/aggbug/126313.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47998/" target="_blank">传诺基亚正在开发Android手机</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>系统用户权限与角色分析</title><link>http://www.cnblogs.com/helimin19/archive/2005/03/18/121061.html</link><dc:creator>冷风.net</dc:creator><author>冷风.net</author><pubDate>Fri, 18 Mar 2005 05:45:00 GMT</pubDate><guid>http://www.cnblogs.com/helimin19/archive/2005/03/18/121061.html</guid><wfw:comment>http://www.cnblogs.com/helimin19/comments/121061.html</wfw:comment><comments>http://www.cnblogs.com/helimin19/archive/2005/03/18/121061.html#Feedback</comments><slash:comments>20</slash:comments><wfw:commentRss>http://www.cnblogs.com/helimin19/comments/commentRss/121061.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/helimin19/services/trackbacks/121061.html</trackback:ping><description><![CDATA[一、术语说明： 
<br/>1．&#160;用户与角色： 
<br/>用户与角色是使用权限的基本单位，角色是一组具有相同限限的用户变集。 
<br/>用户与用户之间不存在相互隶属关系，它只能属于某个角色，角色可以隶属于其它角色，且可以为多重隶属关系。 
<br/>2．&#160;应用模块 
<br/>应用模块通常是指某个页面(在WEB中)如统计报表页面，用户信息页面等等。 
<br/>3．&#160;操作 
<br/>即指在应用模块中对某个功能是否具有访问权限。如用户信息页面的修改功能，删除功能等等 
<br/>4．&#160;授权 
<br/>指用户角色能对哪个应用模块中的某个功能是否具有执行许可。这里执行的许可指的是授权的三种状态：授予、拒绝、继承。 
<br/>授予：用户角色对应用模块的某项操作具有执行权力。 
<br/>拒绝：用户角色对应用模块的某项操作不具有执行权力。 
<br/>继承：用户角色对应用模块的某项操作是否具有执行权力取决于它的父角色是否对该应用模块的指定操作的执行权力。 
<br/>二、对用的E-R图 
<br/><img height="312" src="http://www.cnblogs.com/images/cnblogs_com/helimin19/成員與角色ER.jpg" width="523" /> 
<br/>三、下面我们来写一个类来获取用户是否对应用模块或某项操作具有执行能力。 
<br/>
<table class="MsoTableGrid" cellSpacing="0" cellPadding="0" width="454" border="1" style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; WIDTH: 12cm; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; mso-border-alt: solid windowtext .5pt; mso-yfti-tbllook: 480; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext">
   <tbody>
       <tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes">
           <td vAlign="top" width="50%" style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 50%; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt">
              <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 新細明體; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">類名</span><span lang="EN-US"><o:p></o:p></span></font>
              </p>
           </td>
           <td vAlign="top" width="50%" style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #d4d0c8; WIDTH: 50%; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt">
              <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman"><font size="3">Roles<o:p></o:p></font></font></span>
              </p>
           </td>
       </tr>
       <tr style="mso-yfti-irow: 1">
           <td vAlign="top" width="50%" style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 50%; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt">
              <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman"><font size="3">CreateRole<o:p></o:p></font></font></span>
              </p>
           </td>
           <td vAlign="top" width="50%" style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #d4d0c8; WIDTH: 50%; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt">
              <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 新細明體; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">創建一個新的角色</span><span lang="EN-US"><o:p></o:p></span></font>
              </p>
           </td>
       </tr>
       <tr style="mso-yfti-irow: 2">
           <td vAlign="top" width="50%" style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 50%; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt">
              <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman"><font size="3">DeleteRole<o:p></o:p></font></font></span>
              </p>
           </td>
           <td vAlign="top" width="50%" style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #d4d0c8; WIDTH: 50%; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt">
              <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 新細明體; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">刪除角色</span><span lang="EN-US"><o:p></o:p></span></font>
              </p>
           </td>
       </tr>
       <tr style="mso-yfti-irow: 3">
           <td vAlign="top" width="50%" style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 50%; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt">
              <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman"><font size="3">AddUserToRole<o:p></o:p></font></font></span>
              </p>
           </td>
           <td vAlign="top" width="50%" style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #d4d0c8; WIDTH: 50%; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt">
              <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 新細明體; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">將用戶添加到角色</span><span lang="EN-US"><o:p></o:p></span></font>
              </p>
           </td>
       </tr>
       <tr style="mso-yfti-irow: 4">
           <td vAlign="top" width="50%" style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 50%; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt">
              <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman"><font size="3">RemoveUserFromRole<o:p></o:p></font></font></span>
              </p>
           </td>
           <td vAlign="top" width="50%" style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #d4d0c8; WIDTH: 50%; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt">
              <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 新細明體; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">將用戶從角色中移除</span><span lang="EN-US"><o:p></o:p></span></font>
              </p>
           </td>
       </tr>
       <tr style="mso-yfti-irow: 5">
           <td vAlign="top" width="50%" style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 50%; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt">
              <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman"><font size="3">IsUserInRole<o:p></o:p></font></font></span>
              </p>
           </td>
           <td vAlign="top" width="50%" style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #d4d0c8; WIDTH: 50%; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt">
              <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 新細明體; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">判斷用戶是否在角色中</span><span lang="EN-US"><o:p></o:p></span></font>
              </p>
           </td>
       </tr>
       <tr style="mso-yfti-irow: 6">
           <td vAlign="top" width="50%" style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 50%; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt">
              <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman"><font size="3">RoleExists<o:p></o:p></font></font></span>
              </p>
           </td>
           <td vAlign="top" width="50%" style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #d4d0c8; WIDTH: 50%; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt">
              <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 新細明體; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">判斷角色是否存在</span><span lang="EN-US"><o:p></o:p></span></font>
              </p>
           </td>
       </tr>
       <tr style="mso-yfti-irow: 7">
           <td vAlign="top" width="50%" style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 50%; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt">
              <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman"><font size="3">GetPowerForRole<o:p></o:p></font></font></span>
              </p>
           </td>
           <td vAlign="top" width="50%" style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #d4d0c8; WIDTH: 50%; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt">
              <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 新細明體; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">獲得角色的許可權</span><span lang="EN-US"><o:p></o:p></span></font>
              </p>
           </td>
       </tr>
       <tr style="mso-yfti-irow: 8">
           <td vAlign="top" width="50%" style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 50%; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt">
              <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman"><font size="3">IsRoleInPower<o:p></o:p></font></font></span>
              </p>
           </td>
           <td vAlign="top" width="50%" style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #d4d0c8; WIDTH: 50%; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt">
              <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 新細明體; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">判斷指定的角色是否存在相應的許可權</span><span lang="EN-US"><o:p></o:p></span></font>
              </p>
           </td>
       </tr>
       <tr style="mso-yfti-irow: 9; mso-yfti-lastrow: yes">
           <td vAlign="top" width="50%" style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 50%; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt">
              <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font size="3"><font face="Times New Roman">&#8230;<o:p></o:p></font></font></span>
              </p>
           </td>
           <td vAlign="top" width="50%" style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #d4d0c8; WIDTH: 50%; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt">
              <p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><o:p><font face="Times New Roman" size="3">&#160;</font></o:p></span>
              </p>
           </td>
       </tr>
   </tbody>
</table>
<br/>if(Roles.IsRoleInPower(&#8220;用户&#8221;,&#8221;应用模块或操作&#8221;)) 
<br/>{ 
<br/>&#160;Alert(&#8220;可以执行该应用模块或操作&#8221;); 
<br/>} 
<br/>else 
<br/>{ 
<br/>&#160;Alert(&#8220;无权执行该应用模块或操作&#8221;); 
<br/>} 
<br/><img src ="http://www.cnblogs.com/helimin19/aggbug/121061.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47996/" target="_blank">7月编程语言排行榜</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>学习设计模式之Composite 模式</title><link>http://www.cnblogs.com/helimin19/archive/2005/03/09/115666.html</link><dc:creator>冷风.net</dc:creator><author>冷风.net</author><pubDate>Wed, 09 Mar 2005 09:27:00 GMT</pubDate><guid>http://www.cnblogs.com/helimin19/archive/2005/03/09/115666.html</guid><wfw:comment>http://www.cnblogs.com/helimin19/comments/115666.html</wfw:comment><comments>http://www.cnblogs.com/helimin19/archive/2005/03/09/115666.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/helimin19/comments/commentRss/115666.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/helimin19/services/trackbacks/115666.html</trackback:ping><description><![CDATA[摘要: 合成模式从字面上来理解即一个对象由其它几N个象组合而成，其N＞＝1（为什么说N会有时等于1呢，我是这么理解的，当一个对象中包括另一个对象时，它所包括的对象又包括N个其它对象，依次下去，可以看去与这个对象相关的对象会有M个这里M＞1，但对象本身相对于它所包含的对象来说有只包含了一个）。多数关于Composite模式的文章都是与树结构相关联，这却是形容得太适合不过了，所以本文也不例外：先看看树的构成:&nbsp;&nbsp;<a href='http://www.cnblogs.com/helimin19/archive/2005/03/09/115666.html'>阅读全文</a><img src ="http://www.cnblogs.com/helimin19/aggbug/115666.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47995/" target="_blank">Google Voice 上手</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>改進Richer的WEB頁面進度條！</title><link>http://www.cnblogs.com/helimin19/archive/2005/03/08/114729.html</link><dc:creator>冷风.net</dc:creator><author>冷风.net</author><pubDate>Tue, 08 Mar 2005 00:30:00 GMT</pubDate><guid>http://www.cnblogs.com/helimin19/archive/2005/03/08/114729.html</guid><wfw:comment>http://www.cnblogs.com/helimin19/comments/114729.html</wfw:comment><comments>http://www.cnblogs.com/helimin19/archive/2005/03/08/114729.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.cnblogs.com/helimin19/comments/commentRss/114729.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/helimin19/services/trackbacks/114729.html</trackback:ping><description><![CDATA[摘要: 昨天看了Richer上传的关于WEB页面加载时显示的进度条，但加载的数据与进度条并没有同步，而是当数据状态完成后再加载数据的，因此对其改进了下，使加载的数据与进度条几乎同步了。 却点：加重服务器的重担 1。新建一下HTML页面来显示进度条 &lt;script&#160;language=&quot;javascript&quot;&gt; function&#160;setPgb(pgbID,&&nbsp;&nbsp;<a href='http://www.cnblogs.com/helimin19/archive/2005/03/08/114729.html'>阅读全文</a><img src ="http://www.cnblogs.com/helimin19/aggbug/114729.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47994/" target="_blank">Google号召社区力量为互联网加速</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item></channel></rss>