Add an item to a ListBox from a ComboBox

  • Thread starter Thread starter Sam
  • Start date Start date
S

Sam

Hi !!

I have a ComboBox and a ListBox on my form. The Combobox is filled at
the form Load.
After selecting an item from the combobox the item should be added to
the listbox with the text and the value.
I am not able to do so. Please will anyone help me out of this.

Sam
 
thanx for the reply.


But i am getting an error "The type or namespace name 'ListItem' could
not be found"

as I am using in WinForm application.

Sam
 
Back
Top