Hey.
I have the weirdest problem:
Have an entityclass called events.
Showing em in gridview.
The date is showed by:
<asp:BoundField DataField="EventDate" HeaderText="When:" SortExpression="EventDate" />
Its showing the date, but if i want to edit (boundfield shows textfield), it switches day and month.
So if i have an event on 1/03/08, i press 'edit' , i can alter the '1/03/08'.
I dont change it, just update it, its stored as '03/1/08'.
Have tried dataformat's, stored every datetime as .toUniversalTime(), but it keeps showing it d/m/y and reading it as m/d/y.
Any ideas what could be the problem?
Edit: lol is mijn eerste post op dit forum, en ben te gewend om in het Engels te typen. Mijn excuses!
I have the weirdest problem:
Have an entityclass called events.
Showing em in gridview.
The date is showed by:
<asp:BoundField DataField="EventDate" HeaderText="When:" SortExpression="EventDate" />
Its showing the date, but if i want to edit (boundfield shows textfield), it switches day and month.
So if i have an event on 1/03/08, i press 'edit' , i can alter the '1/03/08'.
I dont change it, just update it, its stored as '03/1/08'.
Have tried dataformat's, stored every datetime as .toUniversalTime(), but it keeps showing it d/m/y and reading it as m/d/y.
Any ideas what could be the problem?
Edit: lol is mijn eerste post op dit forum, en ben te gewend om in het Engels te typen. Mijn excuses!
[Voor 7% gewijzigd door Anoniem: 411643 op 20-06-2011 17:33]