comboBoxEdit1.Properties.Items[comboBoxEdit1.SelectedIndex].ToString()

 

使用前需要先确认 comboBoxEdit1.SelectedIndex不能等于-1,不然报错。

相关文章: