Read the article, and download the code. The program adds/changes/deletes records from the TABLE, and the GRID is refreshed when necessary.

You don't erase a row from the grid. You move the row beneath it UP for each row to delete.