Note that all of the read-only items have an Edit button.
However, the product Aniseed Syrup has had its Edit button clicked and is rendered in its edit mode.
Clicking the Cancel button returns the item to its pre-editing, read-only state whereas clicking the Update button saves the user's modifications in the database (or wherever) and then returns the item to its read-only state, showing its newly updated values.
The screen shot below shows a List View control that lists the products from the Northwind database table.
The Cancel button, if clicked, causes a postback and kicks off the canceling workflow: has been set to -1.Any changes made to the editing interface will not be saved back to the database.The editing interface is defined via the List View control's .(In the screen shot above the "Edit button" is the pencil icon and is implemented as an Image Button.) This workflow proceeds as follows: The net effect of the above workflow is that clicking an item's Edit button causes that item's editing interface to be displayed.You, the page developer, are responsible for defining this editing interface.