选择的:
comboBox1.Items[comboBox1.SelectedIndex]
输入的:
comboBox1.Text

解决方案 »

  1.   

    comboBox.SelectedValue
    comboBox.text
      

  2.   

    comboBox.Items[comboBox.SelectedIndex]
    comboBox.Text
      

  3.   

    comboBox.Items[comboBox.SelectedIndex]
      

  4.   

    MessageBox.Show(this.comboBox1.Text);顶部的TEXT

    MessageBox.Show(this.comboBox1.GetItemText(this.comboBox1.SelectedItem) );选中的ITEM的TEXT
      

  5.   

    这是选择的
    private void comboBox1_SelectedIndexChanged(object sender, System.EventArgs e)
    {
    DataTable dt=ds.Tables["tablename"];
    DataColumn dc =(DataColumn)dt.Columns["columnname"];
    DataRowView dr=(DataRowView)this.comboBox1.SelectedItem;
    string select = dr.Row[dc].ToString();
    }
    ds是你自己设置的DATASET
    不知道对你有没有用
    还有,你的信誉值为什么会这么低的,我刚来,谁能告诉我信誉值和什么有关