Hello friends,
I set the cultural info for Germany as
CultureInfo ci = new CultureInfo("de-DE");
// format is dd.MM.yyyy
Then I bound the GridView, but the date field shows data in system's local date format( eg m/d/yyyy).
How to get the date field to be displayed according to the cultural format
Please help me
Regards
DateTime formats in GridView based on Cultural settings
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Nipun TomarRank #90 · 23K reputationPosted Dec 9, 2008, 1:09 AM EST
set the culture of the application
Application
.CurrentCulture = new CultureInfo("de-DE");string date = DateTime.Now.ToString();
Shiva Nandan33 reputationPosted Dec 9, 2008, 7:11 PM EST
Application.CurrentCulture
Regards