moongirl129
Programmer
I'm using a datetimepicker control and it's text and value properties are databound to a datetime property of a custom object. The date value defaults to todays date.
If I open the application and enter other data, but don't change the date value in the picker (because I want todays date and that's what it shows) the value that is saved is 1/1/0001. If I change the date the correct value is saved. Why is this and what am I doing wrong - it's driving me mad!
If I open the application and enter other data, but don't change the date value in the picker (because I want todays date and that's what it shows) the value that is saved is 1/1/0001. If I change the date the correct value is saved. Why is this and what am I doing wrong - it's driving me mad!