<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>natt_han's Weblog</title>
	<atom:link href="http://natthan.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://natthan.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Thu, 18 Dec 2008 12:34:13 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>th</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='natthan.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/7d373132242279aff5d4076dc89ff205?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>natt_han's Weblog</title>
		<link>http://natthan.wordpress.com</link>
	</image>
			<item>
		<title>set database password to ms access programatically</title>
		<link>http://natthan.wordpress.com/2008/12/18/set-database-password-to-ms-access-programatically/</link>
		<comments>http://natthan.wordpress.com/2008/12/18/set-database-password-to-ms-access-programatically/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 12:34:13 +0000</pubDate>
		<dc:creator>dragonquestx</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ms access]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[programmatically]]></category>

		<guid isPermaLink="false">http://natthan.wordpress.com/?p=6</guid>
		<description><![CDATA[Dim oAccess As Microsoft.Office.Interop.Access.Application = New Microsoft.Office.Interop.Access.Application
                Dim sDBPath As String = &#8216;database path&#8217;
                oAccess.OpenCurrentDatabase(sDBPath, True, &#8220;password&#8221;)
                Dim accessDB As Database = oAccess.CurrentDb()
                accessDB.Close()
                accessDB [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=natthan.wordpress.com&blog=2581879&post=6&subd=natthan&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Dim oAccess As Microsoft.Office.Interop.Access.Application = New Microsoft.Office.Interop.Access.Application</p>
<p>                Dim sDBPath As String = &#8216;database path&#8217;</p>
<p>                oAccess.OpenCurrentDatabase(sDBPath, True, &#8220;password&#8221;)</p>
<p>                Dim accessDB As Database = oAccess.CurrentDb()</p>
<p>                accessDB.Close()</p>
<p>                accessDB = Nothing</p>
<p>                oAccess.CloseCurrentDatabase()</p>
<p> </p>
<p>connection string <br />
 <span class="cs_key">Provider</span>=<span class="cs_value">Microsoft.Jet.OLEDB.4.0;</span><span class="cs_key">Data Source</span>=<span class="cs_value">C:\mydatabase.mdb;</span><span class="cs_key">Jet OLEDB:Database Password</span>=<span class="cs_value">MyDbPassword;</span></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/natthan.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/natthan.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/natthan.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/natthan.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/natthan.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/natthan.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/natthan.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/natthan.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/natthan.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/natthan.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=natthan.wordpress.com&blog=2581879&post=6&subd=natthan&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://natthan.wordpress.com/2008/12/18/set-database-password-to-ms-access-programatically/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a2cc86673d3b493535f9dc9e6f6143a1?s=96&#38;d=identicon" medium="image">
			<media:title type="html">natt_han</media:title>
		</media:content>
	</item>
		<item>
		<title>dataGridView Performance</title>
		<link>http://natthan.wordpress.com/2008/05/07/datagridview-performance/</link>
		<comments>http://natthan.wordpress.com/2008/05/07/datagridview-performance/#comments</comments>
		<pubDate>Wed, 07 May 2008 03:28:05 +0000</pubDate>
		<dc:creator>dragonquestx</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[autoresize]]></category>
		<category><![CDATA[dataGridView]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://natthan.wordpress.com/?p=5</guid>
		<description><![CDATA[งานที่ทำอยุ่ตอนนี้ ต้องเอา dataGridView มาใช้ จากที่ตอนแรก ทดสอบด้วยประมาณ 100 row ทำการเพิ่ม column ขึ้นมาเอง ละใส่ค่าลงไป ก็ไม่มีปัญหาอะไร
ทีนี้ลองเปลี่ยนมา 100000 row โอ้วพระเจ้า add ข้อมุล 3 ช่อง ใช้เวลาไป 10 วิ นี่มันอะไรกัน dataGridView ไม่เหมาะกับข้อมูลเยอะๆ งั้นรึ แต่เวลาอ่านข้อมูล ก็ใช้เวลาแค่ .1 ms เท่านั้น
และแล้วเราก็พบว่าสาเหตุที่ช้าเกิดจาก การตั้งค่า autoresize ซึ่งตอนนั้น set ไว้เป็น allcell 
ซึ่งการทำงานของ autoresize เมื่อค่ามีการเปลี่ยนแปลง มันก็ทำการวัดขนาดของข้อมูลทั้งหมด เพื่อมาหาว่าจะต้อง set size เป็นเท่าไหร่ ดังนั้น เมื่อมีการ set ข้อมูล ทีนึง มันก็ต้องไปทำการอ่านข้อมูลทั้ง 100000 row ทุกครั้ง นั่นเองที่ทำให้มันซัดไป 10 วิ [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=natthan.wordpress.com&blog=2581879&post=5&subd=natthan&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>งานที่ทำอยุ่ตอนนี้ ต้องเอา dataGridView มาใช้ จากที่ตอนแรก ทดสอบด้วยประมาณ 100 row ทำการเพิ่ม column ขึ้นมาเอง ละใส่ค่าลงไป ก็ไม่มีปัญหาอะไร</p>
<p>ทีนี้ลองเปลี่ยนมา 100000 row โอ้วพระเจ้า add ข้อมุล 3 ช่อง ใช้เวลาไป 10 วิ นี่มันอะไรกัน dataGridView ไม่เหมาะกับข้อมูลเยอะๆ งั้นรึ แต่เวลาอ่านข้อมูล ก็ใช้เวลาแค่ .1 ms เท่านั้น</p>
<p>และแล้วเราก็พบว่าสาเหตุที่ช้าเกิดจาก การตั้งค่า autoresize ซึ่งตอนนั้น set ไว้เป็น allcell </p>
<p>ซึ่งการทำงานของ autoresize เมื่อค่ามีการเปลี่ยนแปลง มันก็ทำการวัดขนาดของข้อมูลทั้งหมด เพื่อมาหาว่าจะต้อง set size เป็นเท่าไหร่ ดังนั้น เมื่อมีการ set ข้อมูล ทีนึง มันก็ต้องไปทำการอ่านข้อมูลทั้ง 100000 row ทุกครั้ง นั่นเองที่ทำให้มันซัดไป 10 วิ ก็แก้ โดนการปิด autoresize หรือ ตั้งเป็น display cell ก็จะทำการวัดเฉพาะข้อมุลแถวที่กำลังแสดงผลอยู่ในหน้าจอเท่านั้น</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/natthan.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/natthan.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/natthan.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/natthan.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/natthan.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/natthan.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/natthan.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/natthan.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/natthan.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/natthan.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/natthan.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/natthan.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=natthan.wordpress.com&blog=2581879&post=5&subd=natthan&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://natthan.wordpress.com/2008/05/07/datagridview-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a2cc86673d3b493535f9dc9e6f6143a1?s=96&#38;d=identicon" medium="image">
			<media:title type="html">natt_han</media:title>
		</media:content>
	</item>
		<item>
		<title></title>
		<link>http://natthan.wordpress.com/2008/01/24/4/</link>
		<comments>http://natthan.wordpress.com/2008/01/24/4/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 15:59:29 +0000</pubDate>
		<dc:creator>dragonquestx</dc:creator>
				<category><![CDATA[Quote]]></category>
		<category><![CDATA[quote tsubasa]]></category>

		<guid isPermaLink="false">http://natthan.wordpress.com/2008/01/24/4/</guid>
		<description><![CDATA[No one can resurrect the dead.  &#8230;Not even those who are called gods.
That&#8217;s why within this limited amount of time in our lives, we have ot live for the things we belive in.  
Tsubasa &#8211; TSUBASA RESERVoir CHRoNiCLE Chapters 67
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=natthan.wordpress.com&blog=2581879&post=4&subd=natthan&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>No one can resurrect the dead.  &#8230;Not even those who are called gods.<br />
That&#8217;s why within this limited amount of time in our lives, we have ot live for the things we belive in.  </p>
<p align="right">Tsubasa &#8211; TSUBASA RESERVoir CHRoNiCLE Chapters 67</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/natthan.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/natthan.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/natthan.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/natthan.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/natthan.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/natthan.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/natthan.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/natthan.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/natthan.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/natthan.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/natthan.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/natthan.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=natthan.wordpress.com&blog=2581879&post=4&subd=natthan&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://natthan.wordpress.com/2008/01/24/4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a2cc86673d3b493535f9dc9e6f6143a1?s=96&#38;d=identicon" medium="image">
			<media:title type="html">natt_han</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello world!</title>
		<link>http://natthan.wordpress.com/2008/01/22/hello-world/</link>
		<comments>http://natthan.wordpress.com/2008/01/22/hello-world/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 02:30:33 +0000</pubDate>
		<dc:creator>dragonquestx</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=natthan.wordpress.com&blog=2581879&post=1&subd=natthan&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Welcome to <a href="http://wordpress.com/">WordPress.com</a>. This is your first post. Edit or delete it and start blogging!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/natthan.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/natthan.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/natthan.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/natthan.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/natthan.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/natthan.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/natthan.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/natthan.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/natthan.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/natthan.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/natthan.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/natthan.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=natthan.wordpress.com&blog=2581879&post=1&subd=natthan&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://natthan.wordpress.com/2008/01/22/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a2cc86673d3b493535f9dc9e6f6143a1?s=96&#38;d=identicon" medium="image">
			<media:title type="html">natt_han</media:title>
		</media:content>
	</item>
	</channel>
</rss>