Nafihudheen KT

Nafihudheen KT

  • NA
  • 43
  • 77.9k

How to display more than one columns in a combobox ?

Apr 11 2012 7:30 AM
Hai,

One of the form in my application contain a combo box which has the client names, currently I coded this like the following,

comboName.DisplayMember = "client_name";
comboName.ValueMember = "client_id";

But I want to show both 'client_name' and 'client_code' in the same combobox that means both 'client_name' and 'client_code' as DisplayMembers, if  any body have any idea about this please share it....

Thanking you in advance,

Answers (3)