Satish sharma

Satish sharma

  • NA
  • 2
  • 1.3k

Bind combobox on celldoubleclick of datagridview

Nov 7 2015 2:50 AM
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);
  
 

Answers (1)