Setting datetime to null/empty?

  • Thread starter Thread starter jib
  • Start date Start date
J

jib

Hi,

I've got an ASPX page with a datagrid that has a datetime column. The grid
is populated dynamically. Normally the datetime shows just fine, but there
is a condition for which no datetime was entered at all. In that case I want
to show nothing (also not DateTime.MinValue). There doesn't seem to be a
DateTime.Null value. How do I solve this without converting the column to
strings and having to have a hidden column to support true sorting?

Jib
 
Back
Top