How to bind data to DateTimePicker control? 
Author Message
 How to bind data to DateTimePicker control?

Everytime when I bind my data to DataSource of DataTimePicker control, the
system will give an error.

  Runtime error "545":
    Unable to bind to field or DataMember:'XXX'

'XXX' is the field name.

What could be the reason? Please help.

Thank you,

--
Zhou Hao
Toa Payoh East, Block 23, #8-207, Singapore 310023

Web site: http://www.*-*-*.com/



Mon, 26 Nov 2001 03:00:00 GMT  
 How to bind data to DateTimePicker control?
I seem to get that same error message when there the current recordset has
no records in it. The problem disappears when I add some records to the
database table. The message error is still very annoying, though, and as of
yet I have been unable to capture for it.


Quote:
> Everytime when I bind my data to DataSource of DataTimePicker control, the
> system will give an error.

>   Runtime error "545":
>     Unable to bind to field or DataMember:'XXX'

> 'XXX' is the field name.

> What could be the reason? Please help.

> Thank you,

> --
> Zhou Hao
> Toa Payoh East, Block 23, #8-207, Singapore 310023

> Web site: http://www.geocities.com/SiliconValley/Program/9282/



Wed, 28 Nov 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Data-bound Masked Edit makes all data-bound controls not display data

2. Data-Bound Vs. Non-Data-Bound Controls

3. Data-Bound Vs. Non-Data-Bound Controls

4. Data-Bound Vs. Non-Data-Bound Controls

5. Binding a datetimepicker control to a date time dataset field does not work

6. How to create a data bound control that binds to a row

7. Data Bound User Control Not Binding

8. binding a data bound grid control programmatically

9. ?Data bound controls lost binding after filtering

10. Data designer bound controls seem to lose their binding to the recordset with Requery

11. ?Data bound controls lost binding after filtering

12. Data designer bound controls seem to lose their binding to the recordset with Requery

 

 
Powered by phpBB® Forum Software