Your question is not clear.
But you want to return combobox Text , It's better write this code in SelectedIndexCh anged event:
Code:
MessageBox.Show(comboBox1.SelectedItem.ToString());
Good Luck.
MessageBox.Show(comboBox1.SelectedItem.ToString());
Leave a comment: