473,503 Members | 1,797 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cultureinfo with Date in Config

SMG
Hi All,

Can I put the culture information at a single place like some setting in
config file, and just use it on every page where ever I require it.

i.e. Just create the date object and culture info is by default attached to
it as it is specified in web.config

Regards,
Shailesh G
Nov 19 '05 #1
1 996
On Thu, 21 Apr 2005 10:02:00 -0500, SMG <SM*@nodmain.com> wrote:
Hi All,

Can I put the culture information at a single place like some setting in
config file, and just use it on every page where ever I require it.

i.e. Just create the date object and culture info is by default attached
to
it as it is specified in web.config

Regards,
Shailesh G


yes:
http://samples.gotdotnet.com/quickst...alization.aspx

--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
Nov 19 '05 #2

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

Similar topics

1
3962
by: tommys | last post by:
Hi, I thought that using CultureInfo.CurrentUICulture would give me the current date format as set in the OS - but it did not work that way :-( When re-reading the docs I can see why: "Gets the...
1
1901
by: rerdavies | last post by:
OS: WIndows Server 2003. Currently logged in user is running with German(German) regional settings. Code fragment: System.Globalization.CultureInfo culture = new...
1
1100
by: Neo | last post by:
The short date format of my computer is dd/mm/yyyy and I get the same short date format when running other program. But the asp.net web page showed the short date format is m/d/y. Why...
1
1459
by: Cammie Watson | last post by:
We have two web servers that seem identical, regional settings etc. Although 1 does not run our app correctly, causing a "CAST to date" error to return from the SQL server (which both access) ...
3
1718
by: Cammie Watson | last post by:
We have 2 web servers that seem identical, the same version of 2 applications are installed (Web / Windows), they utilize the same SQL server and have the same regional settings. However, Server...
2
2282
by: Boonaap | last post by:
Hi all, In a user control, the user can put the cultureinfo to his preference, choosing between "nl-BE","fr-BE", and "en-US". this way all calendar and datetime properties are set in the right...
4
1770
by: John A Grandy | last post by:
what's the full class hierarchy for the CultureInfo object in effect by default ?
2
1266
by: Giorgio | last post by:
I would to format the date in Italian ...(dd/mm/yyyy) I have set an another language in International setting(for test i have set Lettonia) The format date for this nation is yyyy.mm.dd ... I...
4
7472
by: RicercatoreSbadato | last post by:
I'd like to change the "CultureInfo" of my site. Which instruction I have to put in the 'web.config' ? any ideas? tnx ;)
0
7199
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7076
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7274
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7323
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
5005
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4670
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3151
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1507
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
732
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.