Anitaks 0 Newbie Poster

How do I get serial numbers updated automatically on adding or deleting a record in datagrid.?