>I started to write an extension method to replace all the cases (Date, double, bool, integer, etc) when I came across this
http://msdn.microsoft.com/en-us/library/3d6d4f1d.aspx>
>So instead of testing HasValue, you can simply use something like
>
>
> xx = tdValue.GetValueOrDefault()
>
>or
>
> xx = tdValue.GetValueOrDefault(oApp.GetEmptyDate())
>
>
Thanks, this is very interesting.