The System.Globalization namespace contains classes that define culture-related information, including the language, the country/region, the calendars in use, the format patterns for dates, currency, and numbers, and the sort order for strings. These classes are useful for writing globalized (internationalized) applications. We will show you a simple sample about how to write a globalized calendar in ASP.NET 2.0 and VB.NET.

We will show three languages in the calendar, English, Chinese and Janpanese.

First, import the namespace of System.Threading.

When we select one language the page will show by the selected language.

The front end Default.aspx page looks something like this:

The flow for the code behind page is as follows.

Download Source Files