How to prevent Combobox to select first item on databinding to DataSource.
I also have a datagridview table - where when the user selects a row on of the cells goes into the combobox - but I want it to override what ever is in the combobox with item from the table.
I have
PD.ItemCBx.Text = this.cOrdersDGV.CurrentRow.Cells[2].Value.ToString();
from form1 which fills the combobox. But when form 2 is opened the combobox is filled with the first item on the databinding to DataSource.
I've tried
ItemCBx.SelectedIndex = -1;
but this stops the data being transfered.