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 C#.

We will show three languages in the calendar, English, Chinese and Janpanse.
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:



Globalization Culture

Select Language:



The flow for the code behind page is as follows.

Download Source Files