In my forms application, I want to use a ListBox.
string name = TextBox1.Text;
string address = TextBox2.Text;
string city = listBox1.SelectedValue.ToString();
I have added several options to the listbox but when I start / debug the program and I select an option in the listbox, it doesn't work. I think I miss something here.
What's the right way to use a ListBox in my form ?
View Complete Post