Hi,
I'm trying to list some information about tasks and when I'm trying to set a date/time entry, I'm only able to edit the date part, not the time part.
I've tried to change the DataEditFormatString to be able to change the time part but without success.
What am I doing wrong?
Here is a code of one of the GridViewDateTimeColumn.
Thanks,
I'm trying to list some information about tasks and when I'm trying to set a date/time entry, I'm only able to edit the date part, not the time part.
I've tried to change the DataEditFormatString to be able to change the time part but without success.
What am I doing wrong?
Here is a code of one of the GridViewDateTimeColumn.
gridViewDateTimeColumn1.DataEditFormatString = "{0:D}"; |
gridViewDateTimeColumn1.DataType = typeof(System.DateTime); |
gridViewDateTimeColumn1.FieldAlias = "DateBegin"; |
gridViewDateTimeColumn1.FieldName = "DateBegin"; |
gridViewDateTimeColumn1.HeaderText = "DateBegin"; |
gridViewDateTimeColumn1.IsAutoGenerated = true; |
gridViewDateTimeColumn1.UniqueName = "DateBegin"; |
gridViewDateTimeColumn1.Width = 140; |
Thanks,