Databinding datetimepicker

kirk

New member
Joined
May 17, 2010
Messages
1
Programming Experience
3-5
I have serveral datetime pickers on a form that are databound to a database. All datetime fields in the database accept null values. So when a new record is created generally all dates are null. When i search the form and display a record all date pickers display the current date and an empty checkbox. I then can check the check box and select a date. But when I use the search feature and populate the form with a new record from the database the date picker that was filled in on the previous record retains the checkmark and the date that was selected. I would like it to be unchecked and disabled with the current date in it if the record contains a null value in the database. Is there a way to do this?
 
Back
Top