Most voted "culture" questions
10 questions
Sort by count of
-
9
votes1
answer2403
viewsWhat is Cultureinfo.Invariantculture?
I installed Resharper and on that stretch x.Id.ToString() he suggests changing to x.Id.ToString(CultureInfo.InvariantCulture). What is CultureInfo.InvariantCulture and why that way is better?…
-
5
votes2
answers1991
viewsChanging the Culture of the System
Developing a system for a Bolivian company, in a windows with Culture pt-BR, some objects like datetimepicker has its internal components according to the language in which the system was installed.…
-
3
votes2
answers136
viewsDevexpress spin - Culture info
I’m using the devexpress spinedit, with MVC, it’s a decimal field, but I need the number score to be a point and not a comma, I need to put its culture as "en-US", how to do?
-
3
votes2
answers217
viewsProblems with date format
I am developing a system using C# MVC and Jquery UI and at the moment I am having problems with date formats, in inputs is the date in the correct format "dd/mm/yyyy" but the server is receiving the…
-
3
votes1
answer634
viewsHow to convert latitude/longitude to Double in C#
I have a problem because I have a variable of the type string and I need to convert to the guy double without losing the "dot". Example: string latitude = "-8.709006" when converting is equal to:…
-
3
votes3
answers134
viewsUnderstand "," as "." when formatting
My Visual Studio is getting a little wrong what I type (console): using System; namespace Uri_CSharp { class URI { static void Main(string[] args) { double raio = double.Parse(Console.ReadLine()),…
-
2
votes2
answers308
viewsASP.Net - Make Page.Uiculture return culture in "en-BR" format
Was defined in the Web.config globalization: <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="pt-BR" uiCulture="pt-BR"/> However, when I read the Page.UICulture get…
-
1
votes0
answers34
viewsChange Cultureinfo to MVC5 / C# and Multi-tenancy
Good afternoon folks! I am working with MVC5 and need a help in the following situation.. I have a view that contains a language selector, and needs to dynamically change the content after selecting…
-
1
votes1
answer63
viewsChange the culture of Monthcalendar
It is possible to change the object’s date format MonthCalendar from a Winforms application? It occurs that the crop selected at a customer’s station is Polish and this is causing error in handling…
-
0
votes2
answers408
viewsC# returns an HTML string
Good, I use the following code to convert a numeric value according to the user culture: value="@(Model.KnowAcquisition.Cost.HasValue ? Model.KnowAcquisition.Cost.Value.ToString("n2",…