I have surfed the web, but no luck so far... I hope u can help me out here.
I have a DataGridView wich is populated form DataSet. There are 6 columns. First one is not displayed(ID). So if i count ColumnIndex i get 5. I set DataGridView.SelectionMode to FullRowSelect, i need it so user could select a row and delete it. That works perfectly. But i also need to use CellSelect because on the last column DoubleClick event i call out another form. So, if i use CellSelect, then i get ColumnIndex like this:
i need to determine ColumnIndex, because DoubleClick event should be fired only if ColumnIndex is 5. But the above code will not work if i set SelectionMode to FullRowSelect. And if i set SelectionMode to CellSelect so that i can determine ColumnIndex then user cannot select full row to delete it. Is there another way to obtain ColumnIndex while SelectionMode is set to FullRowSelect?
Thanks in Advance.