Hi
I'm having a real headache getting the selected row from my datagrid (only one row can be selected at a time).
If I use the callback function from clicking on the data grid I can get the selected row no problem
dgStaffList_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
int selectedRow = e.RowIndex;
}
However I want other methods to be able to read the cell contents without any user interaction.
Any idea how to do this?