combobox问题!
如何获得combobox当前显示的值:
string a = comboBox1.SelectedText;
string st = "select * from bookmark where categories=(select websortid from websort where websort ='a')";
bookmarkadapter.SelectCommand.CommandText = st ;
DataTable dt6 = new DataTable();
bookmarkadapter.Fill(dt6);
this.dataGridView1.DataSource = dt6;
谢谢!