i have a bound datagridview which has no data yet. it has a bindingnavigator along with it. enable adding, editing & deleting of rows is checked. now here's the scenario...
when i run the program, since there is no record yet, a single row is displayed as a new row. when i click the row to enter data, the bindingnavigator count becomes 1 from 0. the delete bindingnavigator button becomes enabled. now what i will do is click the delete button without saving.
error: Current item cannot be removed from the list because there is no current item.
what should i do?