I'm trying to delete the line in which it has the focus of a datagrid
, I've used the following code:
datagrid.Rows.RemoveAt(e.RowIndex);
You are returning the following message:
Uncommitted new row can not be deleted.
What's wrong? Can anyone help me?