I need to replace the selected item in ListBox with the the input text in a TextBox, listbox1.SelectedItem = textbox1.Text
doesn't do that. Do I have to remove the selected one and insert the new one? Thanks.

Recommended Answers

All 2 Replies

Be a part of the DaniWeb community

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