September 2009
M T W T F S S
« Aug   Oct »
 123456
78910111213
14151617181920
21222324252627
282930  

ASP.NET Dynamic Data Preview #7: How Do I Use a DynamicControl in ListView and DetailsView Controls?

This video compares the same application written twice, once with Dynamic Data and once without. In the process, you add DynamicControl objects to ListView and DetailsView controls.

http://msdn.microsoft.com/en-us/library/system.web.dynamicdata.dynamiccontrol.aspx

http://www.bestechvideos.com/2008/06/02/asp-net-dynamic-data-how-do-i-use-a-dynamiccontrol-in-listview-and-detailsview-controls

GOOGLE CALENDAR HowTo’s

How To subscribe to a Google Calendar using iCal
How To sync Google Calendar with Treo using Mac
How To sync Thunderbird With Google Calendar
How To add Google calendars to Google Maps
How To integrate Google Calendar to your website using AJAX
How To sync Google Calendar with Outlook
How To set Google Calendar as your Desktop’s wallpaper
How To do [...]

Chrome Javascript debuging

Executing following code from the browser address bar:

javascript: console.log(3);

successfully prints message to the “JavaScript Console” in Google Chrome.

Learn English

[youtube=http://www.youtube.com/watch?v=cg7qauAob8s]

Learn English

[youtube=http://www.youtube.com/watch?v=53wvn_x4Fg8]

ก า ร ต่ อ ค อ ม พิ ว เ ต อ ร์ ใ ห้ อ อ ก 2 จ อ แ บ บ ป ร ะ ห ยั ด

http://www.realtimesoft.com/multimon/

http://www.dld.go.th/ict/article/tip/tip12.html

http://www.pantip.com/tech/market/comset/index.php?cpu_brand=Core+2+Duo&cpu_clock=x&price=x

Sorting Generic List

//Sorting List<> case Item is ListItem
//==============================================
List<ListItem> tempList = new List<ListItem>();

tempList.Insert(0, new ListItem(”————- Vehicle Reports 8″));
tempList.Insert(0, new ListItem(”————- Vehicle Reports 2″));
tempList.Insert(0, new ListItem(”————- Vehicle Reports 4″));

// sort asc
tempList.Sort(delegate(ListItem p1, ListItem p2) {
return p1.Text.CompareTo(p2.Text);
[...]

ThaiBuddhistCalendar and DateTime Convertion

//date time utc
DateTime _utc = DateTime.UtcNow;

// utc –> thai
ThaiBuddhistCalendar tbc = new ThaiBuddhistCalendar();

int thaiDay = tbc.GetDayOfMonth(_utc);
[...]

Convert DateTime Thai – Eng culture (Buddha – Christ Ex. year 2009 is 2552)

public static DateTime DateTimeCulture()
{
//=========================================================
//======== convert year: crist to buddha ==================
int _day, _month, _year;
DateTime _date;
[...]

Tips to optimize design-time build performance for Web Sites in Visual Studio

There have been a number of posts with tips to improve build performance within Visual Studio 2005.  I’ve consolidate these posts and other tips into a single post of techniques for common problems.
ref: http://weblogs.asp.net/bradleyb/archive/2005/12/06/432441.aspx