Hello
I'm having problem display correct date or time values in the Grid
The date column looks like 9/4/2011 12:00:00 πμ and the time column looks like 30/12/1899 2:18:39 μμ
I try everything i found in the forum like
I'm having problem display correct date or time values in the Grid
The date column looks like 9/4/2011 12:00:00 πμ and the time column looks like 30/12/1899 2:18:39 μμ
I try everything i found in the forum like
Protected
Sub RadGrid1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGrid1.SelectedIndexChanged
Dim colDates As GridBoundColumn
colDates = RadGrid1.Columns.FindByDataField(
"MyDate")
colDates.DataFormatString =
"{0:dd/MM/yyyy}"
Dim colTimes As GridBoundColumn
colTimes = RadGrid1.Columns.FindByDataField(
"MyTime")
colTimes.DataFormatString =
"{0:t}"
Me.RadGrid1.Rebind()
End Sub
but still i got the same format.
Any ideas?