473,378 Members | 1,631 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Is it possible to change culture at aplication level

Hello,

Is it possible to change culture at aplication level?

I am using this to get the current culture at application level:
Response.Write(CultureInfo.CurrentCulture.Name)

Thanks,
Miguel

Nov 19 '05 #1
2 1214
Try doing it in Application_BeginRequest.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Shapper" <mdmoura*NOSPAM*@gmail.*DELETE2SEND*com> wrote in message
news:u%***************@TK2MSFTNGP12.phx.gbl...
Hello,

Is it possible to change culture at aplication level?

I am using this to get the current culture at application level:
Response.Write(CultureInfo.CurrentCulture.Name)

Thanks,
Miguel

Nov 19 '05 #2
You can add a <globalization> element in web.config.
http://msdn.microsoft.com/library/de...balization.asp

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Fri, 29 Apr 2005 15:03:49 +0000, "Shapper"
<mdmoura*NOSPAM*@gmail.*DELETE2SEND*com> wrote:
Hello,

Is it possible to change culture at aplication level?

I am using this to get the current culture at application level:
Response.Write(CultureInfo.CurrentCulture.Name)

Thanks,
Miguel


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

22
by: Robert Brown | last post by:
suppose I have the following table: CREATE TABLE (int level, color varchar, length int, width int, height int) It has the following rows 1, "RED", 8, 10, 12 2, NULL, NULL, NULL, 20...
1
by: karen.mcdonagh | last post by:
Hi, I have generated resource files for a different language and generated a satellite assembly for it, signed it and placed it in the GAC. When I change the UI culture within the code the...
2
by: JezB | last post by:
How do I programatically set the culture at session level ?
3
by: gh0st54 | last post by:
Hi I have created a custom web control wich uses a couple of labels, txtbox and calendars I can change the culture of the txt and lbl no problem , how can I do the same for the calendars ? ...
4
by: Shapper | last post by:
Hello, I have this image in my HTML code: <img src="images/en-US/myImage.jpg" /> I want to change the URL using the value of a Session variable. <img src="images/ Session("culture") Value...
5
by: Shapper | last post by:
Hello, I have this: Public Class index Inherits System.Web.UI.Page Public readMore As String ...
2
by: jeffmagill | last post by:
Hi everyone! As the title says, I'm to access the default culture for the browser at run time. Furthermore as some side notes, my application's goal is to accomplish this at the application...
0
by: kidders | last post by:
Seem to be having problems with the en-GB culture/uiCulture setting, its making dates a format of the incorrect MM/dd/yyyy. I've searched the groups on this issue, here is a lengthy thread, where...
3
by: Mike | last post by:
Hi I have problem as folow: Caught Exception: System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of type...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.