DateTimePicker and DataSet binding

  • Thread starter Thread starter Rafal Ziolkowski
  • Start date Start date
R

Rafal Ziolkowski

Elou,

I need to bind DateTimePicker to DateTime column in a
database table. My database works on MSDE2000. I've tried
to do this via DataBindings (like any other fields on the
form):

1. By Value property
2. By Text property
3. Both at once :-)

Conclusions:
ad.1 Doesn't work :-(
ad.2 Work's but only when first time I fill data set.
When I change dataset cursor position to another row, it
does nothing :-(
ad.3 Doesn't work.

Each other control works simple, I think it's maybe bug
in DateTimepicker control?

Any ideas?

ThanX,

Rafal Ziolkowski

PS. I didn't tested yet if I can read Value property....
 
It is a bug!, try clearing the binding and rebinding or
writing your own picker control like we did! (it sucks,
try setting a blank value!)
 
Back
Top