Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
250
datetime blank value
posted

i need to show nothing for specific date values in a grid. when i set the cell value = "" it displays the value as 01/01/0001. is there anyway to show a blank datetime field? thanks

Parents
  • 469350
    Verified Answer
    Offline posted

        The DataTime data type in DotNet is a struct, so it can't be set to null or a string. Your data source might allow you to set the value to DBNull.Value, but that depends on the data source.

        If that doesn't help, you would probably need to use a DataFilter or DrawFilter to display a blank in the cell.

Reply Children