Shiva Nandan

Shiva Nandan

  • NA
  • 30
  • 0

DateTime formats in GridView based on Cultural settings

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