hello im having a problem retrieving selected value from a combobox in datagridview. my datagridview is getting its data from an sql database. so the comboboxes are filled during runtime and i dont know how to get the selected combobox item's value. all i can think of is this--
Code:
 
string hehe = dataGridView4.Rows[dataGridView4.SelectedCells[0].RowIndex].Cells[3].Value.ToString();
please help me get the selected item from combobox residing inside the datagridview so that i can use it in my code