|
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.
|