Hey,
I was wondering if there is a command to return the language that the
server is set up in, usering ASP.NET v1.1
Because if you put Label1.Text = DateTime.Now.To LongDateString and the
server is in german it will return: Donnerstag, 15. Juni 2006
But if its in english then it will return: Tuesday, 15. June 2006
But i was wondering if there was a command to return what langage the
server is in. e.g. Engllish, French, German.
Dessip 3 1045
You don't need the language. What you need is the Current Culture.
CultureInfo.Cur rentCulture.Nam e
You need to import the .Net Framework's System.Globaliz ation class.
Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Dessip" <De****@gmail.c om> wrote in message
news:11******** *************@g 10g2000cwb.goog legroups.com... Hey,
I was wondering if there is a command to return the language that the server is set up in, usering ASP.NET v1.1
Because if you put Label1.Text = DateTime.Now.To LongDateString and the server is in german it will return: Donnerstag, 15. Juni 2006 But if its in english then it will return: Tuesday, 15. June 2006
But i was wondering if there was a command to return what langage the server is in. e.g. Engllish, French, German.
Dessip
Ahh ok, so i was looking for the wrong thing :(
Thank you for your help :)
Juan T. Llibre wrote: You don't need the language. What you need is the Current Culture.
CultureInfo.Cur rentCulture.Nam e
You need to import the .Net Framework's System.Globaliz ation class. Juan T. Llibre, asp.net MVP aspnetfaq.com : http://www.aspnetfaq.com/ asp.net faq : http://asp.net.do/faq/ foros de asp.net, en español : http://asp.net.do/foros/ =============== =============== ===== "Dessip" <De****@gmail.c om> wrote in message news:11******** *************@g 10g2000cwb.goog legroups.com... Hey,
I was wondering if there is a command to return the language that the server is set up in, usering ASP.NET v1.1
Because if you put Label1.Text = DateTime.Now.To LongDateString and the server is in german it will return: Donnerstag, 15. Juni 2006 But if its in english then it will return: Tuesday, 15. June 2006
But i was wondering if there was a command to return what langage the server is in. e.g. Engllish, French, German.
Dessip
Sorry about this, but i have hit another problem
But i was wondering where does it gather the information from. Because
i thought that it was from Control Panel>Regional Options but they are
set to English(United Kingdom) and for the development im hosting the
IIS locally, but for CultureInfo.Cur rentCulture.Eng lishName Its
returning German(Switzerl and) so i guess that its not gathering the
data from there. So do you know where it is gathering it from.
Thanks In Advance
Dessip
Dessip wrote: Ahh ok, so i was looking for the wrong thing :( Thank you for your help :)
Juan T. Llibre wrote: You don't need the language. What you need is the Current Culture.
CultureInfo.Cur rentCulture.Nam e
You need to import the .Net Framework's System.Globaliz ation class. Juan T. Llibre, asp.net MVP aspnetfaq.com : http://www.aspnetfaq.com/ asp.net faq : http://asp.net.do/faq/ foros de asp.net, en español : http://asp.net.do/foros/ =============== =============== ===== "Dessip" <De****@gmail.c om> wrote in message news:11******** *************@g 10g2000cwb.goog legroups.com... Hey,
I was wondering if there is a command to return the language that the server is set up in, usering ASP.NET v1.1
Because if you put Label1.Text = DateTime.Now.To LongDateString and the server is in german it will return: Donnerstag, 15. Juni 2006 But if its in english then it will return: Tuesday, 15. June 2006
But i was wondering if there was a command to return what langage the server is in. e.g. Engllish, French, German.
Dessip This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Juan Carlos CORUÑA |
last post by:
Hello all,
I have developed an automation server using Mark's win32 extensions
and I must return a IStream COM object from one method of the
automation server.
Here is an extract of my code:
class Stream:
_public_methods_ =
|
by: Robert Gordon |
last post by:
I now realize I probably should have tried posting this on the IIS board
first..
I am running OWA 2003 Server as Front End server to my Exchange 2000 native
domain. The FE server is secured by a 128 bit SSL cert. The OWA 2003
server is running on Windows 2003 server in a Windows 2003 native AD domain.
At present, the server is...
|
by: Guinness Mann |
last post by:
I'm running SQL Server 2K (sp3a) and when I run the following query (in
query analyzer):
SELECT id, LEN(ForeignWord) as Length, ForeignWord
FROM Words
WHERE Language ='Thai' and LEN(ForeignWord) > 300
ORDER BY Length desc
I receive the following results:
|
by: Andreas Lauffer |
last post by:
Can anyone tell me advantages / disadvantages of DataDirect Server
Wire ODBC-driver?
Any experiences?
What about redistribution?
Andreas Lauffer, easySoft. GmbH, Germany
|
by: batista |
last post by:
Hello to all,
I want to know that wat's the future of vc++.net? I mean is it going to
remain there or not, and if does then wud there be big changes to it or
they'll stick with the current one?
I want to know this because there is client/server application
that i want to build. Now the server side has to be very fast in
processing...
| |
by: Matthew Louden |
last post by:
Personally, I am totally confused with the following control terms and usage
and advantages of each one in ASP.NET web application. Here's what I know so
far..
1. HTML Client Control: understood by the client only. e.g. <input
type="text" name="emp_name">
2. HTML Server Control: understood by the server only. e.g. <input
type="text"...
|
by: Steven T. Hatton |
last post by:
I just read §2.11.3 of D&E, and I have to say, I'm quite puzzled by what it
says.
http://java.sun.com/docs/books/tutorial/essential/concurrency/syncrgb.html
<shrug>
--
NOUN:1. Money or property bequeathed to another by will. 2. Something handed
down from an ancestor or a predecessor or from the past: a legacy of
religious freedom....
|
by: Joe |
last post by:
I am trying to get a good understanding of these concepts and how they apply
to code and classes (possibly different). As well as MSIL and Native Code
(x86 assembly).
To facilitate discussion consider the following code.
//////////////////////////////////////////////////
// compiled with /clr
ref class A {
|
by: bimowidhi |
last post by:
Hi, I'm a newbie here, and also in PHP.
Sorry for my bad English. I've walked around to find the answer of my problem, but I still can't get it.
I develop PHP 5.2.5 Application, using SQL Server 2005 database, and run in IIS 6.0.
I also use PHP SQL Server 2005 driver provides by microsoft.
My database is placed in another server.
My...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
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 we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |