You need to indicate which ComboBox you are looking at - remember that
cmb
is a DataGridViewComboBox
Column
button_getID()
Dim cmbc As DataGridViewComboBoxCell = DataGridView1.Rows(DataGridView1.CurrentRow.Index).Cells(0)
Dim idUser as String
idUser=cmbc.Value
End Sub