K
K
killman2022-04-21 19:39:32
Windows
killman, 2022-04-21 19:39:32

I need to get the text from the selected listBox element. How to do it?

I need to get the text of the selected item from the listBox. I just don't understand how to do it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
killman, 2022-04-21
@killman

I found the solution myself, just need:
string someValue = listBox1.Text;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question