Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > General Discussion
  New Posts New Posts RSS Feed - How to bind a ComboBox to a datasource?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to bind a ComboBox to a datasource?

 Post Reply Post Reply
Author
Message
Jebo View Drop Down
Senior Member
Senior Member


Joined: 27 October 2005
Location: Germany
Status: Offline
Points: 318
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jebo Quote  Post ReplyReply Direct Link To This Post Topic: How to bind a ComboBox to a datasource?
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 04 June 2008 at 2:15pm
Hi,
There is DataBinding support. :( Databinding property is standard VB property that was automatically added by VB.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Jebo View Drop Down
Senior Member
Senior Member


Joined: 27 October 2005
Location: Germany
Status: Offline
Points: 318
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jebo Quote  Post ReplyReply Direct Link To This Post Posted: 05 June 2008 at 5:16am
Originally posted by oleg oleg wrote:

Hi,
There is DataBinding support. :(
 
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
Back to Top
Baldur View Drop Down
Senior Member
Senior Member


Joined: 22 November 2006
Location: Germany
Status: Offline
Points: 244
Post Options Post Options   Thanks (0) Thanks(0)   Quote Baldur Quote  Post ReplyReply Direct Link To This Post Posted: 08 July 2008 at 7:11am
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.
Back to Top
nicoleta@nexusm View Drop Down
Newbie
Newbie
Avatar

Joined: 20 June 2009
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote nicoleta@nexusm Quote  Post ReplyReply Direct Link To This Post Posted: 20 June 2009 at 4:34am
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()?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.