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

Binding ComboBox to DataTable with complex PrimaryKey

DataTable(Table1) has 3 columns, two of wich are in complex PrimaryKey, ie. columnPrimKey1, columnPrimKey2, and other column named column3. Can it be done with something like this: ComboBox.DataSource=Table1 ComboBox.DisplayMember="column3" ComboBox.Valuemember="columnPrimKey1;columnPrimKey2" Thanks, Nic

Loader.
Live Chat Icon For mobile
Up arrow icon