Click here to Skip to main content
15,911,531 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
To my understanding anything displayed to user should use the currentUICulture(dd/MM/yyyy) but in my case date format in datagridviewcolumn uses the currentculture(yyyy/MM/dd) format instead.
Any Idea ???

Thanking you in advance
Posted

1 solution

You appear to be misunderstanding CurrentUICulture.
From the docs:
"This property is used by the ResourceManager class to look up culture-specific resources at run time."
Where, for CurrentCulture:
"This information determines the default formats for dates, times, currency, and numbers; the sorting order of text; string comparisons; and casing. "
 
Share this answer
 
Comments
Richard chiu 11-Feb-14 22:36pm    
can you elaborate on currentUICulture used by the resourcemanager class to look up culture-specific resources at run time.
Matt T Heffron 12-Feb-14 12:33pm    
Have a look at: http://msdn.microsoft.com/en-us/library/system.resources.resourcemanager(v=vs.110).aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900