Link to home
Start Free TrialLog in
Avatar of jskfan
jskfanFlag for Cyprus

asked on

How to Complex/simple bind a combobox in vb.net

I would like to know:

How to Complex/simple bind a combobox in vb.net ? what does it mean? in which circumstance it is used?

a simple and clear example will be appreciated.

thanks
SOLUTION
Avatar of MilanKM
MilanKM

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

Can you explain the difference in a simple way please ? it's not clear on the link.

thanks
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

I have tried both simple and complex databinding to 2 comboboxes and they show the same thing. the whole list of customers names

I used for one combobox:
DataSource
DisplayMember
ValueMember


then the other combobox
DataSource
SelectedValue

Avatar of jskfan

ASKER

I might haven't understood in which situation I should use simple and in which I should use complex.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

I will try it later and get back with you