Label Data Formatting - Datagrid Template Error

Hi,

in my datagrid I use a template in a cell.

I tried to use Short Date Format, but there is an Error?

image

Thanks.

This happens because the property is nullable date. Try with data.MyDate.Value.ToString("d")

1 Like