Date format in the DataGrid

K

Ky

I am using vb.net

I haven't see the propreties in the compact framework datagrid control.
Can i set the Date format in the text column?
How can i do it?

thanks
 
P

Peter Foot [MVP]

You have no direct control over this. One workaround is to create an
expression column on your datasource and use this to create a formatted
string representation of your date, then setup a custom grid style on the
control to show this expression column in place of the original.

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top