Add an item to a ListBox from a ComboBox

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
 
S

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top