I\'m working on a GUI that allows the user to manipulate xml files. I display the xml file in a datagridview organized neatly by columns through xml elements. I allow the us
I use this:
private int GetDataGridViewComboBoxCellSelectedIndex(DataGridViewCell d) { return ((DataGridViewComboBoxCell)d).Items.IndexOf(d.Value); }