Hey professionals, I use DataGridView that allows me to add new rows in table. But when I want to delete it by clicking on my deleting button with following code:
DataGridView.Rows.RemoveAt(DataGridView.CurrentCell.RowIndex);
...it makes problems, others rows aren't problematic to delete but this is. But not on purpose I want to delete this row for adding new rows of the table, but only to prevent some coincidental clicking on the button.
...this table of DataGridView is filled by Dataset which is filled by xml file.