Combobox

  • Thread starter Thread starter sogescom
  • Start date Start date
S

sogescom

I have a ComboBox that is populated with a database table.
My table as 2 primary keys (AccActivityID and AccNatureID).

How do i set the ValueMember of my ComboBox with the 2
primary keys together.

Thanks
 
You may unite the two fields in the SelectCommand, for example:

Select AccActivityID + "."+ AccNatureID as MyValueMember ....


Luke

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Back
Top