Solved

LCID in ASP.net web forms

Posted on 2011-03-10
1
542 Views
Last Modified: 2012-05-11
In Classic ASP I could set a session.LCID like this;

'Set the server locale
 Session.LCID = 1034 'Spainish - Spain

This would render all numbers, and dates etc en Spanish format.

I am building a small asp.net application (.net 4.0)  with web forms, but have a host in the USA whilte the web application is for Spain. How can I set the LCID globally for this site.

Please remember I am a beginner ;-)

Kind regards

A.
0
Comment
Question by:Abiel de Groot
1 Comment
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
Comment Utility
The same line of code is still valid in ASP.Net. No change needed :)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now