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
Loading
Shiva NandanPosted Dec 10, 2008, 12:11 AM
Application.CurrentCulture
Regards
Nipun TomarPosted Dec 9, 2008, 6:09 AM
set the culture of the application
Application
.CurrentCulture = new CultureInfo("de-DE");string date = DateTime.Now.ToString();