Tuesday, January 15, 2008

How to get the month name according to the current windows local

I used the DateTimeFormatInfo class to get the month name as a string by calling this method GetMonthName(int) , then I found that it retrun the English representation of the month even in non english regional settings (Windows locale).

The culture aware class is the CultureInfo, which can be accessed from the Current thread, so simply call:


to get a culture specific month name.

Thursday, January 10, 2008

Blogs/Casts I read and recommend

ARCast.TV - Exotic Locations, Global Perspective and Architectural Insight… It’s ARCast.TV with Ron Jacobs

RSS Feed :http://channel9.msdn.com/rss.aspx?ShowID=26


Scott Hanselman - Scott Hanselman's Thoughts on .NET, WebServices, and Life , also listen to his PodCast (www.hanselminutes.com)

RSS Feed : http://feeds.feedburner.com/ScottHanselman


MSDN Nuggets - not the stuff we eat ... its MSDN Nuggets

RSS Feed :  http://www.microsoft.com/uk/msdn/nuggets/rss.aspx?t=all


 Daniel Moth a Microsoft geek and a former MVP (lots of Screen Casts)

RSS Feed : http://feeds.feedburner.com/DanielMoth

VS2005 Gotcha : DataTable with Seed = 0 will kill you