<?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/"
	>

<channel>
	<title>JayCreate.com</title>
	<atom:link href="http://blog.monthon.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.monthon.com</link>
	<description>..is created by Jay</description>
	<lastBuildDate>Tue, 10 Nov 2009 11:51:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>วิธีการแบ่ง Page ASP.Net ด้วย SQL Server 2005</title>
		<link>http://blog.monthon.com/2008/10/paging-asp-net-sql-server-2005/</link>
		<comments>http://blog.monthon.com/2008/10/paging-asp-net-sql-server-2005/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 08:32:01 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[SQLServer]]></category>

		<guid isPermaLink="false">http://blogs.monthon.com/?p=178</guid>
		<description><![CDATA[หลายครั้งที่ต้อง Mantenance เว็บใหญ่ๆ ที่ทำด้วย Asp.net และ Sql server ซึ่งมักจะเจอปัญหา Page load ช้า เนื่องจาก Query ข้อมูลจำนวนมากจาก ฐานข้อมูล เพื่อมาเก็บไว้ใน DataTable แล้วเราก้อค่อย แบ่ง page จากข้อมูลใน DataTable อีกที
ลองนึกภาพดูนะครับ ถ้าเรามีข้อมูลในเว็บบอร์ดที่มีคนออนไลน์พร้อมกัน หลายๆ พันคน และมีจำจวนข้อมูลที่ต้อง Query จากฐานข้อมูล เป็น แสน Records  เราอาจจะไม่เอามาทั้งหมด โดยอาจจะให้แสดงย้อนหลังได้เพียบ 10 หน้า โดยแสดงหน้าละ 150 รายการ รวมกันทั้งหดม ก้อ 1500 Records ที่เราต้อง Query จาก Database ของเรา แล้วต้องมาเสียเวลา แบ่งหน้าด้วย Pagging หรือ โดยใช้ Feature [...]]]></description>
		<wfw:commentRss>http://blog.monthon.com/2008/10/paging-asp-net-sql-server-2005/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>เขียน css อย่างสั้น ง่ายๆ โหลดไวๆ</title>
		<link>http://blog.monthon.com/2008/10/css-faster-loading/</link>
		<comments>http://blog.monthon.com/2008/10/css-faster-loading/#comments</comments>
		<pubDate>Sat, 11 Oct 2008 16:16:44 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://blogs.monthon.com/?p=164</guid>
		<description><![CDATA[
แน่นอนครับ ถ้ามันสั้นได้ จะเขียนยาวไปทำไมให้เยิ่นเย้อ มาดูกันว่า property ตัวไหน ย่อได้บ้าง
Background
แบบปกติ

background-color: #87CEFA; ———————–/*สีแบ็คกราวน์*/
background-position: left top; ———————-/*ตำแหน่งชิดซ้าย บน*/
background-repeat: no-repeat;——————– /*ใส่ไปรูปเดียว ไม่ต้องทำซ้ำ*/
background-image: url&#40;images/arrow.gif&#41;; ——–/*เอารูปจากที่นี่นะ*/
background-attachment: fixed; —————-/*ใส่ตรงไหน fix ไว้ตรงนั้นเลย ต่อให้เลื่อน scroll bar ลงมาก็ยังเห็น*/

แบบย่อแล้ว
background: #87CEFA url(images/arrow.gif) no-repeat fixed left top; ควรเรียงตามลำดับครับ ไม่เช่นนั้น IE6 อาจไม่แสดงในบางกรณี
ถ้าเขียนแบบนี้
background: #87CEFA url(images/arrow.gif) no-repeat fixed 5px 10px; ตัวเลขค่าแรกคือระยะห่างแบ็คกราวน์ในแนวแกน x อันที่2 คือแนวแกน y
Border
แบบปกติ

border-width:1px;
border-style:solid;
border-color:#87CEFA;

แบบย่อแล้ว
border: 1px solid #87CEFA; อันนี้สลับที่กันได้ ไม่มีปัญหา

Font
แบบปกติ

font-family: Verdana, Geneva, Arial, [...]]]></description>
		<wfw:commentRss>http://blog.monthon.com/2008/10/css-faster-loading/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>เบราเซอร์ใหม่ Google chrome(กูเกิล โครม)</title>
		<link>http://blog.monthon.com/2008/10/google-chrome/</link>
		<comments>http://blog.monthon.com/2008/10/google-chrome/#comments</comments>
		<pubDate>Sat, 11 Oct 2008 15:41:50 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[google chrome]]></category>
		<category><![CDATA[กูเกิล โครม]]></category>

		<guid isPermaLink="false">http://blogs.monthon.com/?p=153</guid>
		<description><![CDATA[ เปิดให้ดาวน์โหลดมาทดลองใช้กันได้แล้วครับ กูเกิล โครม เบราเซอร์ จากกูเกิล ซึ่งตอนนี้ยังเป็นตัว beta อยู่ แต่ในอนาคตอาจมีผู้ใช้เยอะ จนผมต้องทำเว้บให้ support เจ้าตัวนี้ด้วยก็ได้ เท่าที่ทดลองใช้ดู ก็เปิดหน้าเว็บต่างๆ ได้ปกติดีครับ ช่องเสิชกับช่อง address bar เป็นช่องเดียวกัน menu bar ไม่มี หรือมีแต่หาไม่เจอไม่รู้ เดี๋ยวลองใช้สักพัก ถ้ามีไรน่าสนใจใหม่ๆจะมาบอกแล้วกันครับ ทดลองโหลดไปใช้กันที่นี่ครับ ดีไม่ดียังไงบอกกันมั่งเน้ออ

ดาวน์โหลด google chrome
คุณสมบัติต่างๆของ google chrome ภาษาไทย
http://tools.google.com/chrome/intl/th/features.html
การ์ตูน Google Chrome ภาคภาษาไทย ตอนที่ 1 &#8211; ความเสถียร การทดสอบ และสถาปัตยกรรมมัลติโปรเซส
การ์ตูน Google Chrome ภาคภาษาไทย ตอนที่ 2 &#8211; ความเร็ว: WebKit และ V8
การ์ตูน Google Chrome ภาคภาษาไทย [...]]]></description>
		<wfw:commentRss>http://blog.monthon.com/2008/10/google-chrome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Handling array of HTML Form Elements in JavaScript and PHP</title>
		<link>http://blog.monthon.com/2008/09/handling-array-of-html-form-elements-in-javascript-and-php/</link>
		<comments>http://blog.monthon.com/2008/09/handling-array-of-html-form-elements-in-javascript-and-php/#comments</comments>
		<pubDate>Sun, 21 Sep 2008 14:26:47 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[ไม่มีหมวดหมู่]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blogs.monthon.com/?p=132</guid>
		<description><![CDATA[วิธีจัดการกับ HTML Array ด้วย javaScript และ PHP
วิธีการจัดการ HTML Array ง่ายๆ ด้วย JavaScript   และ PHP  หลายคนเคยเจอปัญหา เวลาทำ เว็บฟอร์ม ที่มีช่องให้กรอกข้อมูล หรือ CheckBox หลายๆ อัน (Multiple Check box) แต่ต้องการให้เป็นชื่อเดียวกัน เช่น มี Options ให้เลือกหลายๆ อัน ผมเคยเสียเวลาในการหาิวิธีจัดการกับ Form แบบนี้ไปหลายชั่วโมง ก้อเลยอยากจะเอามา Share กัน เผื่อใครที่กำลังหาวิธีอยู่ จะได้ไม่ต้องเสียเวลานาน
[ad#banner-with-link]
การสร้าง HTML Array
เราสามารถสร้าง HTML Array ได้ง่ายๆ เพื่อ Grouping Object เดียวกัน โดยการใช้ตัวแปรที่มีชื่อเหมือนกัน แล้วตามด้วย เครื่องหมาย [ ] ไม่ต้องใส่อะไรไว้ข้างใน เรียงต่อกันไปเรื่อยๆ [...]]]></description>
		<wfw:commentRss>http://blog.monthon.com/2008/09/handling-array-of-html-form-elements-in-javascript-and-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ปฏิทิน (Clendar) ที่แสดงภาษาไทย และปี พ.ศ. ได้</title>
		<link>http://blog.monthon.com/2008/09/dynarch-calendar-thai-version/</link>
		<comments>http://blog.monthon.com/2008/09/dynarch-calendar-thai-version/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 13:22:13 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[ร่วมแบ่งปัน]]></category>
		<category><![CDATA[Calendar]]></category>
		<category><![CDATA[Dynarch]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://blogs.monthon.com/?p=120</guid>
		<description><![CDATA[Dynarch Calendar TLE
วันนี้ เอา ปฏิทินจาวาสคริป แบบไทยๆ มาแจก
ทำเว็บไซต์ มาก้อเยอะ Application มาก้อมาก ปกติเวลาทำ ปฏิทิน ก้อไม่ค่อยได้สนใจเรื่องของ ปี เท่าไหร่ Download พวก Calendar ที่เขามีแจกให้ใช้กันทั่วๆ ไป แก้ภาษานิดหน่อย ก้อโอเคแล้ว ส่วนเรื่องของ ปี ก้อปล่อยให้มันเป็น ค.ศ. ไป
ช่วงนี้ทำเว็บที่เกี่ยวกับวัฒนธรรมและความเชื่อ(นับถือ)ของคนไทย และผู้ใช้ส่วนใหญ่ ไทย จริงๆ ไม่เอา 2008 อะ จะเอา 2551, ผมก้อเลยต้องมานั่ง Search หาไปทั่ว เจอมาก้อหลายที่ คิดว่าโชคดีแล้ว  แต่พอดูๆ ไป ก้อเริ่มไม่แน่ใจ ว่าตกลงใช้ได้ป่าวนี่ แก้แล้วหรือยัง มีมาแบ่งให้ใช้บ้างหรือป่าว  
แล้วก้ออดอีกตามเคย??
Search ต่อไปอีกพัก ก้อเริ่มถอดใจ เพราะรู้สึกว่าจะใช้เวลา ในการ Search มากกว่าการมานั่ง Develop หรือ [...]]]></description>
		<wfw:commentRss>http://blog.monthon.com/2008/09/dynarch-calendar-thai-version/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Restricting users to enter only numbers inside a text box แบบที่ 2</title>
		<link>http://blog.monthon.com/2008/09/restricting-users-to-enter-only-numbers-inside-a-text-box-no2/</link>
		<comments>http://blog.monthon.com/2008/09/restricting-users-to-enter-only-numbers-inside-a-text-box-no2/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 09:14:22 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[ไม่มีหมวดหมู่]]></category>

		<guid isPermaLink="false">http://blogs.monthon.com/?p=102</guid>
		<description><![CDATA[วิธีเขียน JavaScript กำหนดให้ User ป้อนข้อมูลที่เป็น ตัวเลขลงใน TextBox เท่านั้น (แบบที่ 2)

&#60;HTML&#62;
&#60;HEAD&#62;
&#60;SCRIPT language=Javascript&#62;
&#60;!&#8211;
function isNumberKey(evt)
{
var charCode = (evt.which) ? evt.which : event.keyCode
if (charCode &#62; 31 &#38;&#38; (charCode &#60; 48 &#124;&#124; charCode &#62; 57))
return false;
return true;
}
//&#8211;&#62;
&#60;/SCRIPT&#62;
&#60;/HEAD&#62;
&#60;BODY&#62;
&#60;INPUT id=&#8221;txtChar&#8221; onkeypress=&#8221;return isNumberKey(event)&#8221; type=&#8221;text&#8221; name=&#8221;txtChar&#8221;&#62;
&#60;/BODY&#62;
&#60;/HTML&#62;
]]></description>
		<wfw:commentRss>http://blog.monthon.com/2008/09/restricting-users-to-enter-only-numbers-inside-a-text-box-no2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Restricting users to enter only numbers inside a text box</title>
		<link>http://blog.monthon.com/2008/09/restricting-users-to-enter-only-numbers-inside-a-text-box/</link>
		<comments>http://blog.monthon.com/2008/09/restricting-users-to-enter-only-numbers-inside-a-text-box/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 07:26:25 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[ไม่มีหมวดหมู่]]></category>

		<guid isPermaLink="false">http://blogs.monthon.com/?p=99</guid>
		<description><![CDATA[หลายครั้งที่ผมต้องเขียน WebForm แล้วต้องให้ User กรอกแต่ข้อมูลที่เป็นตัวเลขเท่านั้น พยายามใช้ ServerControl หลายครั้ง หรือไม่ก้อทำเป็น Ajax เพื่อให้เช็กที่ฝั่ง Server แต่ท้ายที่สุดก้อไม่ทันใจ User เลยต้องหันมาพึ่งพา JavaScript เหมือนเคย รวดเร็ว ทันใจ

วิธีเขียน JavaScript กำหนดให้ User ป้อนข้อมูลที่เป็น ตัวเลขลงใน TextBox เท่านั้น
&#60;!DOCTYPE HTML PUBLIC &#8220;-//W3C//DTD HTML 4.01 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/html4/loose.dtd&#8221;&#62;
&#60;html&#62;
&#60;head&#62;
&#60;title&#62;Untitled Document&#60;/title&#62;
&#60;meta http-equiv=&#8220;Content-Type&#8221; content=&#8220;text/html; charset=iso-8859-1&#8243;&#62;
&#60;meta http-equiv=&#8220;Content-Style-Type&#8221; content=&#8220;text/css&#8221;&#62;
&#60;meta http-equiv=&#8220;Content-Script-Type&#8221; content=&#8220;text/javascript&#8221;&#62;
&#60;script type=&#8221;text/JavaScript&#8221;&#62;
function valid(f) {
if (!/^\d*$/.test(f.value)) {
alert(&#8221;Only integer numbers allowed!&#8221;);
f.value = f.value.replace(/[^\d]/g,&#8221;");
}
}
&#60;/script&#62;
&#60;/head&#62;
&#60;body&#62;
&#60;input name=&#8221;" type=&#8221;text&#8221; onkeyup=&#8221;valid(this)&#8221;&#62;
&#60;/body&#62;
&#60;/html&#62;
ยังมีอีกวิธีดูที่นี่เลยนะครับ -&#62; [...]]]></description>
		<wfw:commentRss>http://blog.monthon.com/2008/09/restricting-users-to-enter-only-numbers-inside-a-text-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux: Find Files Containing Text</title>
		<link>http://blog.monthon.com/2008/09/linux-find-files-containing-text/</link>
		<comments>http://blog.monthon.com/2008/09/linux-find-files-containing-text/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 17:08:10 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[ไม่มีหมวดหมู่]]></category>

		<guid isPermaLink="false">http://blogs.monthon.com/?p=94</guid>
		<description><![CDATA[Because of our being forgetful in nature, we oftentimes forget the files that we have created. We can only be fortunate if we can still remember the path, folder, or directory where we have stored those missing files. If that&#8217;s the case, it would never be a big deal then. However, trully this a big [...]]]></description>
		<wfw:commentRss>http://blog.monthon.com/2008/09/linux-find-files-containing-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>วิธีการ add JavaScript ให้กับ Button ใน Asp.net</title>
		<link>http://blog.monthon.com/2008/09/add-javascript-to-aspnet-button/</link>
		<comments>http://blog.monthon.com/2008/09/add-javascript-to-aspnet-button/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 07:09:10 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://blogs.monthon.com/?p=86</guid>
		<description><![CDATA[
How to add JavaScript into Asp.net Button control to confirm user before doing the process

Html control :
&#60;INPUT TYPE=&#8220;button&#8221; VALUE=&#8220;Button1&#8243; ONCLICK=&#8220;if(confirm(&#8217;Do you want delete?&#8217;)){ return true; }else{ return false; }&#8221;&#62;


.Net control :
Button1.attribute.Add(“onclick”,”if(confirm(&#8217;Do you want delete this item(s)?&#8217;)){ return true; }else{ return false; }”);

Have fun  


]]></description>
		<wfw:commentRss>http://blog.monthon.com/2008/09/add-javascript-to-aspnet-button/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Export DataTable to Spreadsheet using C#</title>
		<link>http://blog.monthon.com/2008/09/how-to-export-datatable-to-spreadsheet-using-csharp/</link>
		<comments>http://blog.monthon.com/2008/09/how-to-export-datatable-to-spreadsheet-using-csharp/#comments</comments>
		<pubDate>Sun, 14 Sep 2008 15:48:57 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[ไม่มีหมวดหมู่]]></category>
		<category><![CDATA[Asp.Net]]></category>
		<category><![CDATA[C# CSharp]]></category>

		<guid isPermaLink="false">http://blogs.monthon.com/?p=81</guid>
		<description><![CDATA[วิธีการ Export ข้อมูลจาก DataTable ไปยัง Excel Spreadsheet ด้วย C#

public static void ExportToSpreadsheet(DataTable table, string name)
{
HttpContext context = HttpContext.Current;
context.Response.Clear();
foreach (DataColumn column in table.Columns)
{
context.Response.Write(column.ColumnName + &#8220;;&#8221;);
}
context.Response.Write(Environment.NewLine);
foreach (DataRow row in table.Rows)
{
for (int i = 0; i &#60; table.Columns.Count; i++)
{
context.Response.Write(row[i].ToString().Replace(&#8220;;&#8221;, string.Empty) + &#8220;;&#8221;);
}
context.Response.Write(Environment.NewLine);
}
context.Response.ContentType = &#8220;text/csv&#8221;;
context.Response.AppendHeader(&#8220;Content-Disposition&#8221;, &#8220;attachment; filename=&#8221; + name + &#8220;.csv&#8221;);
context.Response.End();
}
// Using
ExportToSpreadsheet(table, &#8220;products&#8221;);
[ad#menu-link]
]]></description>
		<wfw:commentRss>http://blog.monthon.com/2008/09/how-to-export-datatable-to-spreadsheet-using-csharp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
