I have a page with a datagrid on it. When I click on a row of this datagrid, I receive another page where I can edit this record.

After updating this record I want to return to the first page (no problem), but I want the same page on the datagrid (PageIndex).

!! Instead of updating the record, I can also delete it !!

How can I do that ?