Hello dear fellow programmers,
I am displaying data stored in a Access database through a datagrid control. One of the field stores time. In the datagrid, no time is displayed only the date (eg: 1/1/1899 something similar). I do understand that this field stores a data and time. As I am only interesting in the time no date is edited at any time. How can I change the format of this column programmitically.
Many thanks in advance for your precious help.
Pat
Comments
:
: I am displaying data stored in a Access database through a datagrid control. One of the field stores time. In the datagrid, no time is displayed only the date (eg: 1/1/1899 something similar). I do understand that this field stores a data and time. As I am only interesting in the time no date is edited at any time. How can I change the format of this column programmitically.
:
: Many thanks in advance for your precious help.
:
: Pat
:
Check out stdDataFormat
You can create a custom format if required. StdDataFormats can be bound to Columns within a DataGrid control.
Hope this helps a little
John ;-)
Pat
: : Hello dear fellow programmers,
: :
: : I am displaying data stored in a Access database through a datagrid control. One of the field stores time. In the datagrid, no time is displayed only the date (eg: 1/1/1899 something similar). I do understand that this field stores a data and time. As I am only interesting in the time no date is edited at any time. How can I change the format of this column programmitically.
: :
: : Many thanks in advance for your precious help.
: :
: : Pat
: :
: Check out stdDataFormat
:
: You can create a custom format if required. StdDataFormats can be bound to Columns within a DataGrid control.
:
: Hope this helps a little
:
: John ;-)
: