When displaying a formated date string in an ASP.NET datagrid, you get an error if the dataset field is NULL

Example of Bad code[-][--][++]

If closeDate is not NULL, this works fine, otherwise it errors.


This works if closeDate is not NULL, otherwise it displays MM/dd/yyyy (in that format, not date format, does \
not display date)


Example of Good code[-][--][++]

This works if closeDate is null (displays nothing), or contains a date. This is what you want to use.