Setting datetime to null/empty?

Discussion in 'ASP .Net' started by jib, Jan 28, 2004.

  1. jib

    jib Guest

    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
     
    jib, Jan 28, 2004
    #1
    1. Advertisements

  2. jib

    Natty Gur Guest

    Natty Gur, Jan 28, 2004
    #2
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.