Stay With us
3 new comments

beginner
new

Help & Settings
About
Help
Tips

How to remove value from a list box using c#

I have a list box which contains the name of fruits. I want to remove the item from listbox when i click a delete button. When i select some fruit name how can i get its value and then delete from the list box.

I no item is selected it should warn to select a fruit name to delete and stop the code.

Thanks!

(0) Replies

Please login or register to Comment or Answer