Subject: Beginner - Datagrid formatting question
Posted By: badgolfer Post Date: 11/18/2003 6:52:01 AM

Help please.

I have a simple datagrid bound to a datasource.
One of the bound columns is a datetime field.
eg I simply use this to bind the data

    myGrid.datasource = myDatasource
    myGrid.bind

The grid displays all the database fields fine.
I need to format the displayed datetime field.
It is currently shown as dd:mm:yyyy hh:mm:ss and I need
it shown as dd:mm:yy. I cannot change the field to be
a shortdate format in the Access database as other apps
use the full datetime format - but I only want the date
part. My question is...

How do I use the mind boggling boundcolumn class to set the
formatting on my specific datagrid's datetime column? Or is
there a better way. If any one can point me to a code example
it would be help me greatly.
Cheers.


Reply By: planoie Reply Date: 11/18/2003 12:15:12 PM
Please stick to the same thread.

Peter
------------------------------------------------------
Work smarter, not harder.

Go to topic 6639

Return to index page 1003
Return to index page 1002
Return to index page 1001
Return to index page 1000
Return to index page 999
Return to index page 998
Return to index page 997
Return to index page 996
Return to index page 995
Return to index page 994