Print Page | Close Window

How to bind a ComboBox to a datasource?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Active-X COM Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=10908
Printed Date: 10 June 2024 at 1:15pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to bind a ComboBox to a datasource?
Posted By: Jebo
Subject: How to bind a ComboBox to a datasource?
Date 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



Replies:
Posted By: Oleg
Date 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


Posted By: Jebo
Date 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


Posted By: Baldur
Date 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.


Posted By: nicoleta@nexusm
Date 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()?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net