Hi,
1.
I am using a DataGridView, which is bound to a dataset. There is a bindingNavigator as well.
when a user deletes a row by clicking "bindingNavigatorDeleteItem" button, I am trying to get the row being deleted.
private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e)
{
int crow = gridEventType.CurrentCell.RowIndex;
but it returns the newly selected row AFTER deletion of a selected row. so, If I have two rows 0 1 2 and I delete 2
crow is 1, not 2.
Am I missing something here?
2. How do I know whether certain rows are modified in datagridview?
Thanks,