:: Forum >>

Format as date or empty

We have a table where in a column a date can be shown or not. From the C#-WebService this is sent as DateTime.Min (jan 1. 0001). If this date is in the data we don't want to show anything in this cell. Is this possible with the AW.Formats.Date or do we have to Convert it to a String ourself?

Thanks
Roland
Roland
Tuesday, July 8, 2008
OK, found it.
I use now

date.setErrorText("");
date.setErrorValue(0);

to not show "#ERR" in the cell and set the data to "" if the Date is before a certain date.

Roland
Tuesday, July 8, 2008

This topic is archived.


Back to support forum

Forum search