I have an ASP.NET datagrid on a page that contains a bound date column. The Visual Studio DataGrid property builder asks for a "Data Formatting Expression", but I can't get it to accept any syntax I've tried.
The MS help files on bound columns say:
"Using bound columns in a DataGrid Web server control allows you to specify which columns from the data source to display, customize the header and footer for each column, and control sorting."
... note nothing on formatting :-(
When I use dynamic help from the builder I get:
"A .NET framework formatting expression that is applied to the data before it is displayed in the column. This is particularly useful for specifying the format of dates, currency, and numbers, but can be specified for any data."
... not very helpful since there are no examples anywhere that I can find that work.
Can someone please give me some examples to try? I just want to display the date without the time.
Thanks,
Judy