hi all i'm a starter i just want to know
how to add text or digit to listbox?
here the screen shot
http://bp3.blogger.com/_Btq8oD8fbvQ/...textboxadd.JPG
help me and give the code
thanks
Printable View
hi all i'm a starter i just want to know
how to add text or digit to listbox?
here the screen shot
http://bp3.blogger.com/_Btq8oD8fbvQ/...textboxadd.JPG
help me and give the code
thanks
vb Code:
listbox1.items.add("your text")
ok thanks but i want to make listbox show
that's i write on textbox ?
how to do ?
vb.net Code:
listbox1.items.add(textbox1.text)
thank a lot but if i added i want to remove text or select how to do ?
How do I move selected item up the list 1 position?
you can use listbox1.SelectedItem or listbox1.SelectedItems to get/Set selected items as well as you can use listbox1.Remove or listbox1.RemoveAt() to remove the particular item.