You can take advantage of the <%@ Page %> directive's MaintainScrollPositionOnPostback attribute to scroll a page back automatically to the same position whenever the page is posted back to the server. For example, if you add this attribute and click an Edit link rendered by a GridView , the page automatically scrolls to the record being edited. This attribute works with Internet Explorer 6+, Firefox 1+, and Opera 8+. When you click an Edit link, you can edit a particular database row. The GridView automatically renders a check box for any Boolean columns and a text field for any other type of column. The GridView control does not support inserting new records into a database table. If you need to insert new records, use either the DetailsView or FormView control. Furthermore, notice that the GridView control includes a DataKeyNames property . When editing and deleting rows with the GridView , you need to assign the name of the primary key field from the database tabl...