
Binding a datetimepicker control to a date time dataset field does not work
I've tried every which way I can think of to bind a datetimepicker field to
a datatime field in a dataset so that, if the field value is not null in the
dataset it shows the dataset's currently selected record date in the
datetimepicker control. I just can't get it, any time I use any of the
databinding properties for this control I get an error message.
Try a simple test, create a sql table with two fields, an Id and Mydate a
datetime field, use the data form wizard to create a data entry form using
textboxes (not a grid) to create a winform for it, add a
datetimepickercontrol and try to bind it to the mydate field. as soon as you
hit the load button you get error messages.
What am i Doing wrong, this should be simple <GGGGGG>
Thanks for any help.
I sincerely wish Microsoft would remember a very valid axiom, KEEP IT SIMPLE
STOOPID.