i have a combobox and datagridview. i wants to bind combobox on celldoubleclick of datagridview.
binding table have id and name column.
id nvarchar(15) primary key with 'Pub' prefix.
i have try
1. PublisherList.SelectedItem = dt.Rows[0][5].ToString();
2. PublisherList.SelectedItem = PublisherList.FindStringExact(dt.Rows[0][5].ToString());
3. PublisherList.SelectedValue = Convert.ToString(BookList.CurrentRow.Cells[4].Value);
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Vishal JadavRank #1,692 · 901 reputationPosted Dec 16, 2015, 12:20 AM EST