Displaying and editing rows of a table

example2 shows how to update a row through a cursor. The program: