1.如何让combox不允许用户自己输入数据只允许用户选择数据?
this.comboBox1.DropDownStyle = ComboBoxStyle.DropDownList;
2.一个值在下拉列表框的索引
this.comboBox1.Items.Add("nihao");
this.comboBox1.Items.Add("中华");
this.comboBox1.Items.Add("厦门");
//
int a =this.comboBox1.FindString("中华");
this.label1.Text = a.ToString();