Article ID: 326943 - Last Review: May 18, 2007 - Revision: 3.7 HOW TO: Set Culture Information in an ASP.NET Application Without CodeThis article was previously published under Q326943 On This PageSUMMARY This article describes how to set the culture for an
ASP.NET application, both at the page level and at the Web application level.
By default, ASP.NET supports the cultures that are listed at the following
Microsoft Developer Network (MSDN) Web site: http://msdn2.microsoft.com/en-us/library/system.globalization.cultureinfo(vs.71).aspx
(http://msdn2.microsoft.com/en-us/library/system.globalization.cultureinfo(vs.71).aspx)
Set the Culture at the Page LevelTo set the culture at page level, add the culture attribute to the page directive. For example, the Page directive for a default page that is created in Visual Studio .NET may be:Set the Culture at the Web Application LevelTo set the culture at the Web application level, modify or add the <globalization> tag in the <system.web> section of the Web.config file. By default, Visual Studio .NET creates a Web.config file, and it contains the following <globalization> section.REFERENCES For more information about globalization in ASP .NET, visit
the following MSDN Web sites: http://msdn2.microsoft.com/en-us/library/ydy4x04a(vs.71).aspx
(http://msdn2.microsoft.com/en-us/library/ydy4x04a(vs.71).aspx)
http://msdn2.microsoft.com/en-us/library/hy4kkhe0(vs.71).aspx (http://msdn2.microsoft.com/en-us/library/hy4kkhe0(vs.71).aspx)
| Article Translations
|

Back to the top
