Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Formatting the data in the data grid,

PatWelchPatWelch Member Posts: 2
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

  • jlegjleg Member Posts: 237
    : 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 ;-)
  • PatWelchPatWelch Member Posts: 2
    Many thanks! It is a start!

    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 ;-)
    :

Sign In or Register to comment.