Re: display empty datetime as blank?

Tech-Archive recommends: Fix windows errors by optimizing your registry



You have many options... if you are binding you can override what is
being bound.

You can also make a new property like


public string FormattedDate {
get { return (this.Date == null) ? "" : this.Date; }
}

or whatever.

You could also do this in your own business object (for use with the
object data source) or you could do the processing in SQL.

David Betz
WinFX Harmonics Blog
http://www.davidbetz.net/winfx/

.