I am data binding a date time field in my xml document to the Value field of the DateTimePicker control. It all works fine, except when I try to clear the datetime.
It appears that clear sets DateTime to null and that causes conversion exception, and my xml field keeps an old value instead of being set to empty string.
Is there a way around this issue?
Thanks.
It appears that clear sets DateTime to null and that causes conversion exception, and my xml field keeps an old value instead of being set to empty string.
Is there a way around this issue?
Thanks.