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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Binding Comboboxes programatically to datasources

Thread ID:




20246 Oct 13,2004 07:50 AM UTC WinForms 0
Tags: FAQ
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?


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon