We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Binding Comboboxes programatically to datasources

Thread ID:

Created:

Platform:

Replies:

20246 Oct 13,2004 07:50 AM UTC WinForms 0
loading
Tags: FAQ
Kevin
Asked On October 13, 2004 07:50 AM UTC

Hi I want to programmatically bind a combobox to it’s data source. The combobox is used to access values held in a lookup table. On the form I’m using I’ve bound text boxes to the main datasource and set the comboboxe’s SelectedValue, DisplayMember, ValueMember and DataSource properties and also created a dataReleation object linking the main table with the lookup table. When the form is loaded everything is OK but when I move through the dataset using the binding context method, the values displayed in the text boxes change accordingly but the values displayed in the comboboxes don’t change. Is there anything else I should be doing?

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;