i have comboBox that i fill in data like this:
SQL = "select DISTINCT ActionNum,ActionName from ActionType";
adp = new SqlCeDataAdapter(SQL, Main.Conn);
adp.Fill(dsView, "ActionType");
adp.Dispose();
Mycom.DataSource = dsView.Tables[0];
Mycom.DisplayMember = dsView.Tables[0].Columns[1].ColumnName;
Mycom.ValueMember = dsView.Tables[0].Columns[0].ColumnName;
how to select the comboBox where the Mycom.ValueMember = 33
(something like Mycom.SelectedIndex = ???)
Use SelectedValue: