M
Marauderz
Hi, I have an object that implements IEditableObject that exposes a Date
property.
A DateTimePicker on a form is bound to the property on the object.
But when I call BindingContext.CancelCurrentEdit on it I get an error that
says I'm trying to set an invalid date to the control a date of 01/01/0001
12:00:00AM.
Obviously something's wrong, I've stepped through the CancelEdit call on my
object, the member variables all have proper dates so I don't know how this
came to be, any suggestions?
Thanks!
property.
A DateTimePicker on a form is bound to the property on the object.
But when I call BindingContext.CancelCurrentEdit on it I get an error that
says I'm trying to set an invalid date to the control a date of 01/01/0001
12:00:00AM.
Obviously something's wrong, I've stepped through the CancelEdit call on my
object, the member variables all have proper dates so I don't know how this
came to be, any suggestions?
Thanks!