![]() |
How to bind a ComboBox to a datasource? |
Post Reply ![]() |
Author | |
Jebo ![]() Senior Member ![]() Joined: 27 October 2005 Location: Germany Status: Offline Points: 318 |
![]() ![]() ![]() ![]() ![]() Posted: 04 June 2008 at 1:44pm |
Hi,
I see that the CJ-ComboBox has a Databinding-Property (but no Datasource-Property?). So please how can I bind it to a datasource?
What I need is a LookUp-Listbox for my users. So the user can choose a value from the list. With the standard-ComboBox this is no problem, but with the CJ-Combobox I dont know, how to handle - and there is also no information in the helpfile...
![]() Thank you 4 help
Jebo
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
There is DataBinding support. :( Databinding property is standard VB property that was automatically added by VB.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Jebo ![]() Senior Member ![]() Joined: 27 October 2005 Location: Germany Status: Offline Points: 318 |
![]() ![]() ![]() ![]() ![]() |
I think you want to say "There is no DataBinding support". Or?
And if not, do you plan a feature like this?
Hope you understand me right: I don't want use classic boundmode - I only want a lookup-List on ComboBox-ButtonClick (like the DataCombo-Control from VB).
bye
Jebo
|
|
![]() |
|
Baldur ![]() Senior Member ![]() Joined: 22 November 2006 Location: Germany Status: Offline Points: 244 |
![]() ![]() ![]() ![]() ![]() |
The standard Databinding concerning only a field to an existing ADO-Control to set/get the current field-value.
To fill the dropdown-list, you must do this by your own.
|
|
![]() |
|
nicoleta@nexusm ![]() Newbie ![]() ![]() Joined: 20 June 2009 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
In conclusion, if I want to bind a datatable to a combobox, I have to add the rows one by one using one the methods AddItem(), set_List(), or set_ItemData()?
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |