How do you remove an individual item from a listbox?

Recommended Answers

All 2 Replies

int position = ListBox1.SelectedIndex;
    if(position >= 0)
        //output message asking the user to select an item from the list
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.