<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title><![CDATA[十一的部落]]></title>
				<link>http://blog.xuite.net/yan.kee/CSharp/</link>
				<description><![CDATA[http://blog.xuite.net/yan.kee/CSharp/]]></description>
				<image>
					<title>HiNet Blog</title>
					<width>120</width>
					<height>27</height>
					<link>http://blog.xuite.net/yan.kee/CSharp/</link>
					<url>http://s.blog.xuite.net/_image/logo_blog.gif</url>
				</image>
				<copyright>Xuite製作小組</copyright>
				<pubDate>Thu, 03 Jul 2008 12:53:23 +0800</pubDate><item>
				        <guid>http://blog.xuite.net/yan.kee/CSharp/17225061#9721195</guid>
					<title><![CDATA[只能在執行 Render() 的過程中調用 RegisterForEventValidation]]></title>
					<link>http://blog.xuite.net/yan.kee/CSharp/17225061#9721195</link>
					<author>dummy@xuite.net (11)</author>
					<pubDate>Thu, 03 Jul 2008 12:53:23 +0800</pubDate>
					<description>&lt;p&gt;補充:&lt;/p&gt;&lt;p&gt;就算加上&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;public override void VerifyRenderingInServerForm(Control control)&lt;br /&gt;{&lt;br /&gt;}&lt;br /&gt;但若是在&amp;lt;ItemTemplate&amp;gt;中有用到&lt;/p&gt;&lt;p&gt;HiddenFields 一樣會錯誤&lt;/p&gt;&lt;p&gt;@@&lt;/p&gt;&lt;p&gt;解決:&lt;/p&gt;&lt;p&gt;把HiddenFields 用Label 取代&lt;/p&gt;&lt;p&gt;把Label 設為不顯示&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;</description>					
				</item><item>
				        <guid>http://blog.xuite.net/yan.kee/CSharp/17636651#9543850</guid>
					<title><![CDATA[[轉]自動清除7天以上的檔案 ]]></title>
					<link>http://blog.xuite.net/yan.kee/CSharp/17636651#9543850</link>
					<author>dummy@xuite.net (haoming)</author>
					<pubDate>Fri, 13 Jun 2008 09:01:55 +0800</pubDate>
					<description>感謝您轉貼我的文章，但麻煩您要註明出處唷。</description>					
				</item><item>
				        <guid>http://blog.xuite.net/yan.kee/CSharp/15517142#9317909</guid>
					<title><![CDATA[[kuso]尿布舞]]></title>
					<link>http://blog.xuite.net/yan.kee/CSharp/15517142#9317909</link>
					<author>dummy@xuite.net (11)</author>
					<pubDate>Sun, 18 May 2008 20:45:13 +0800</pubDate>
					<description>黎明的 &amp;quot;我要看上她&amp;quot;</description>					
				</item><item>
				        <guid>http://blog.xuite.net/yan.kee/CSharp/15517142#9317698</guid>
					<title><![CDATA[[kuso]尿布舞]]></title>
					<link>http://blog.xuite.net/yan.kee/CSharp/15517142#9317698</link>
					<author>dummy@xuite.net (seth)</author>
					<pubDate>Sun, 18 May 2008 20:22:38 +0800</pubDate>
					<description>&lt;p&gt;影片超讚  推  &lt;/p&gt;&lt;p&gt;請問這首歌的名字叫什麼??&lt;/p&gt;</description>					
				</item><item>
				        <guid>http://blog.xuite.net/yan.kee/CSharp/15347486#8562649</guid>
					<title><![CDATA[C#中產生GUID]]></title>
					<link>http://blog.xuite.net/yan.kee/CSharp/15347486#8562649</link>
					<author>dummy@xuite.net (yankee)</author>
					<pubDate>Sun, 17 Feb 2008 21:03:32 +0800</pubDate>
					<description>&lt;p&gt;GUID 是指不重複的序號&lt;/p&gt;&lt;p&gt;是用電腦上網卡的序號 +  時間 +  亂數產生的&lt;/p&gt;&lt;p&gt;以上&lt;/p&gt;</description>					
				</item><item>
				        <guid>http://blog.xuite.net/yan.kee/CSharp/15347486#8555488</guid>
					<title><![CDATA[C#中產生GUID]]></title>
					<link>http://blog.xuite.net/yan.kee/CSharp/15347486#8555488</link>
					<author>dummy@xuite.net (jimmy)</author>
					<pubDate>Sat, 16 Feb 2008 18:54:14 +0800</pubDate>
					<description>&lt;p&gt;請問GUID 是什麼意思  謝謝&lt;/p&gt;</description>					
				</item><item>
				        <guid>http://blog.xuite.net/yan.kee/CSharp/15107799#7967891</guid>
					<title><![CDATA[開發excel  問題討論串]]></title>
					<link>http://blog.xuite.net/yan.kee/CSharp/15107799#7967891</link>
					<author>dummy@xuite.net (11)</author>
					<pubDate>Sat, 02 Feb 2008 03:02:04 +0800</pubDate>
					<description>&lt;p&gt;使用oledb insert到xls&lt;/p&gt;&lt;p&gt;必須不能被包含在ts交易中&lt;/p&gt;&lt;p&gt;因為oledb  4.0 不支援...&lt;/p&gt;</description>					
				</item><item>
				        <guid>http://blog.xuite.net/yan.kee/CSharp/15165141#7925442</guid>
					<title><![CDATA[Connection Strings 討論串]]></title>
					<link>http://blog.xuite.net/yan.kee/CSharp/15165141#7925442</link>
					<author>dummy@xuite.net (11)</author>
					<pubDate>Sun, 27 Jan 2008 13:08:19 +0800</pubDate>
					<description>&lt;p&gt;新發現&lt;/p&gt;&lt;p&gt;constr的專門web site @@&lt;img src=&quot;http://s.blog.xuite.net/_image/emotion/m21.gif&quot; border=&quot;0&quot; /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.connectionstrings.com/&quot;&gt;http://www.connectionstrings.com/&lt;/a&gt;&lt;/p&gt;&lt;p /&gt;&lt;/p&gt;</description>					
				</item><item>
				        <guid>http://blog.xuite.net/yan.kee/CSharp/14864467#7909853</guid>
					<title><![CDATA[SQL 分頁]]></title>
					<link>http://blog.xuite.net/yan.kee/CSharp/14864467#7909853</link>
					<author>dummy@xuite.net (11)</author>
					<pubDate>Fri, 25 Jan 2008 12:05:33 +0800</pubDate>
					<description>&lt;p&gt;如果db 是sql 2005   &lt;/p&gt;&lt;p&gt;有更方便的方法&lt;/p&gt;&lt;p&gt;SQL2000就......ORZ&lt;/p&gt;</description>					
				</item><item>
				        <guid>http://blog.xuite.net/yan.kee/CSharp/15107799#7742253</guid>
					<title><![CDATA[開發excel  問題討論串]]></title>
					<link>http://blog.xuite.net/yan.kee/CSharp/15107799#7742253</link>
					<author>yan.kee@xuite.net (11)</author>
					<pubDate>Wed, 16 Jan 2008 14:31:37 +0800</pubDate>
					<description>&lt;p&gt;Q: 無法啟動EXCEL&lt;/p&gt;&lt;p&gt;出現ERROR訊息&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;解法:   設定DCOM  將ASPNET的權限加進去&lt;/strong&gt;&lt;/p&gt;&lt;li&gt;Go to the Start-Run menu item. &lt;/li&gt;&lt;li&gt;Type in &amp;quot;DCOMCNFG&amp;quot; and hit enter. &lt;/li&gt;&lt;li&gt;This should load the &amp;quot;Component Services&amp;quot; MMC (you can also load from Administrative Tools - Component Services&amp;quot; &lt;/li&gt;&lt;li&gt;Expand &amp;quot;Component Services&amp;quot; &lt;/li&gt;&lt;li&gt;Expand &amp;quot;Computers&amp;quot; &lt;/li&gt;&lt;li&gt;Expand &amp;quot;My Computer&amp;quot; &lt;/li&gt;&lt;li&gt;Select the &amp;quot;DCOM Config&amp;quot; item &lt;/li&gt;&lt;li&gt;Select the &amp;quot;Microsoft Excel Application&amp;quot; item. &lt;/li&gt;&lt;li&gt;Right click and select Properties &lt;/li&gt;&lt;li&gt;Select the Security Tab and you should see the following:&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Under &amp;quot;&lt;strong&gt;Launch and Activation Permissions&lt;/strong&gt;&amp;quot; select the &amp;quot;&lt;strong&gt;Customize&lt;/strong&gt;&amp;quot; option. &lt;/li&gt;&lt;li&gt;Click the &amp;quot;&lt;strong&gt;Edit&lt;/strong&gt;&amp;quot; button&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click the &amp;quot;Add&amp;quot; button to add a new account to the list. &lt;/li&gt;&lt;li&gt;On the dialog that is displayed click the Locations button &lt;br /&gt;&lt;br /&gt;(this is because by default your domain will be selected and we need a local account)&lt;br /&gt;&lt;br /&gt;In this dialog scroll the list to the top (sometimes the first item is not visible) but scroll to the top and select the first item which is your computer name. In the list below &amp;quot;CCROWE&amp;quot; is the name of my computer.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click the OK button &lt;/li&gt;&lt;li&gt;On the dialog that is displayed enter &amp;quot;&lt;strong&gt;ASPNET&lt;/strong&gt;&amp;quot; as the account name (make sure location is set to the name of the computer that IIS is on) on &lt;strong&gt;Windows XP&lt;/strong&gt; or if you are running on &lt;strong&gt;Windows 2003 Server&lt;/strong&gt; you must enter the account that the &lt;strong&gt;Application Pool&lt;/strong&gt; is running as, by default &amp;quot;&lt;strong&gt;Network Service&lt;/strong&gt;&amp;quot;&lt;br /&gt;&lt;br /&gt;BY : 十一&lt;br /&gt;詳 :http://blog.crowe.co.nz/archive/2006/03/02/589.aspx &lt;/li&gt;</description>					
				</item><item>
				        <guid>http://blog.xuite.net/yan.kee/CSharp/15107799#7665784</guid>
					<title><![CDATA[開發excel  問題討論串]]></title>
					<link>http://blog.xuite.net/yan.kee/CSharp/15107799#7665784</link>
					<author>dummy@xuite.net (11)</author>
					<pubDate>Mon, 07 Jan 2008 14:40:34 +0800</pubDate>
					<description>&lt;p&gt;詭異...&lt;/p&gt;&lt;p&gt; sheet.get_Range(&amp;quot;AM2&amp;quot;, &amp;quot;AM2&amp;quot;).Value2 =LongStr ;&lt;/p&gt;&lt;p&gt;LongStr 我放了3000個  - &lt;/p&gt;&lt;p&gt;結果引發錯誤&lt;/p&gt;&lt;p&gt;說儲存空間不足...&lt;/p&gt;&lt;p&gt;XD&lt;/p&gt;&lt;p&gt;解法:  在前面加上一段中文字就可以了&lt;/p&gt;&lt;p&gt;   sheet.get_Range(&amp;quot;AN2&amp;quot;, &amp;quot;AN2&amp;quot;).Value2 = &amp;quot;報修單號&amp;quot; + G_LongStr;&lt;/p&gt;&lt;p /&gt;&lt;/p&gt;</description>					
				</item><item>
				        <guid>http://blog.xuite.net/yan.kee/CSharp/15107799#7665351</guid>
					<title><![CDATA[開發excel  問題討論串]]></title>
					<link>http://blog.xuite.net/yan.kee/CSharp/15107799#7665351</link>
					<author>yan.kee@xuite.net (yan.kee)</author>
					<pubDate>Mon, 07 Jan 2008 13:38:00 +0800</pubDate>
					<description>&lt;p&gt;找到方法可以用oledb   也能insert   &amp;gt; 255的字串了&lt;/p&gt;&lt;p&gt;在寫入xls 第一列欄位時,&lt;/p&gt;&lt;p&gt;在第2列預先寫入一行&lt;/p&gt;&lt;p&gt;在該欄位 設定很長的內容&lt;/p&gt;&lt;p&gt;在用oledb去insert   &lt;/p&gt;&lt;p&gt;此時會參考此列欄位&lt;/p&gt;&lt;p&gt;即可寫入&amp;gt;255&lt;/p&gt;&lt;p&gt;但是此第2行不能用oledb 去下comand刪除&lt;/p&gt;&lt;p&gt;要再加工處理一次&lt;/p&gt;&lt;p /&gt;&lt;/p&gt;</description>					
				</item><item>
				        <guid>http://blog.xuite.net/yan.kee/CSharp/15105154#7665260</guid>
					<title><![CDATA[.NET 收藏區[持續更新 0118]]]></title>
					<link>http://blog.xuite.net/yan.kee/CSharp/15105154#7665260</link>
					<author>yan.kee@xuite.net (yan.kee)</author>
					<pubDate>Mon, 07 Jan 2008 13:24:03 +0800</pubDate>
					<description>&lt;p&gt;在web.config 加appSettings&lt;/p&gt;&lt;p&gt;  &amp;lt;appSettings&amp;gt;&lt;br /&gt;    &amp;lt;add key=&amp;quot;G_LongStr&amp;quot; value=&amp;quot;10000&amp;quot; /&amp;gt;&lt;br /&gt;  &amp;lt;/appSettings&amp;gt;&lt;br /&gt;  &amp;lt;connectionStrings&amp;gt;&lt;/p&gt;&lt;p&gt;.................&lt;/p&gt;&lt;p /&gt;&lt;p&gt;在程式中加入&lt;/p&gt;&lt;p&gt;using System.Configuration;&lt;/p&gt;&lt;p&gt;取值用&lt;/p&gt;&lt;p&gt; ConfigurationManager.AppSettings.GetValues(&amp;quot;G_LongStr&amp;quot;).GetValue(0)&lt;/p&gt;&lt;p /&gt;&lt;/p&gt;&lt;/p&gt;</description>					
				</item><item>
				        <guid>http://blog.xuite.net/yan.kee/CSharp/15080234#7626419</guid>
					<title><![CDATA[羅志祥 ft. 倖田來未-Twinkle(KTV版)]]></title>
					<link>http://blog.xuite.net/yan.kee/CSharp/15080234#7626419</link>
					<author>dummy@xuite.net ()</author>
					<pubDate>Wed, 02 Jan 2008 22:34:18 +0800</pubDate>
					<description>懷孕媽媽 做月子&lt;br /&gt;也能夠在家擁有全職收入!&lt;br /&gt;讓你在家就可以增加收入的好方法!&lt;br /&gt;&lt;a href=&quot;http://ymca.drp.com.tw/work/&quot;&gt;http://ymca.drp.com.tw/work/&lt;/a&gt;</description>					
				</item><item>
				        <guid>http://blog.xuite.net/yan.kee/CSharp/14845975#7620048</guid>
					<title><![CDATA[監獄兔小遊戲]]></title>
					<link>http://blog.xuite.net/yan.kee/CSharp/14845975#7620048</link>
					<author>yan.kee@xuite.net (yan.kee)</author>
					<pubDate>Wed, 02 Jan 2008 03:09:50 +0800</pubDate>
					<description>&lt;p&gt;小CASE&lt;/p&gt;&lt;p&gt;歡迎來這玩玩&lt;/p&gt;&lt;p&gt;XD&lt;/p&gt;&lt;p&gt;我是樓上的樓下&lt;/p&gt;</description>					
				</item></channel></rss>