+ 1
ComboBoxes in C#
i have a combo box in my windows forms app and i want to control it by saying that if the selected item was admin say 1 and if it was user message box 2
1 Respuesta
0
string var; var = comboBox1.Text;
Or var item =
this.comboBox1.GetItemText(this.comboBox1.SelectedItem); MessageBox.Show(item);
http://csharp.net-informations.com/gui/cs-combobox.htm