2
Reply

DateTime formats in GridView based on Cultural settings

Shiva Nandan

Shiva Nandan

Dec 9 2008 5:19 AM
7.5k
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

Answers (2)