hi there, i have a datagrid view in C#. i got the data to be displyed from the database to the datagridview combo column, as shown below:
DataGridViewComboBoxColumn comboBox = (DataGridViewComboBoxColumn)dgvAction.Rows[0].Cells[1].OwningColumn;
comboBox.Items.Clear();
comboBox.Items.AddRange(m.LoadUSEmp());
this code is loaded when the form loads but when it load i want to display one specific value from the data that is being displayed, (the users name should be displayed). i have method to get the name of the users name. how can i display the users name first in the combo box.
thanxxxx