The Grid View and Details View controls offer built-in editing functionality that can be turned on with the tick of a checkbox.

Without writing a line of declarative markup or server-side source code, the page developer gets a decent out of the box editing interface.

Namely, each field in the Grid View or Details View is rendered in its editing interface; Bound Fields display a Text Box control while Check Box Fields display an enabled checkbox.

To configure the Data Source control to handle insert, update and delete click “Advanced...” button. Click “Configure List View...” option as seen in the above figure to choose the display Layout for the List View.

Choose a display layout, I have selected “Grid” in our example, as seen in the below figure. Drag a List View control inside a webform as we did in previous section. Also, this is a great resource for people coming into the list view. Is Post Back) in the datapaging prerender or you may get this error The control collection cannot be modified during Data Bind, Init, Load, Pre Render or Unload phases.

Drag a Sql Data Source control from the data tab of Visual Studio 2008.

Configure it with the Database Server; I have used a database in App_Data folder.

All I want to do is intercept the New Values and put them in my custom data solution.

This is driving me batty as I cannotdo anything with my data.

NET 3.5 and Visual Studio 2008, this released included two new ASP.

The Data Pager control can be associated with a List View to render a paging interface. NET 3.5, developers who needed to display a set of records could choose between the Grid View, Data List, and Repeater controls.

Specify the Layout Template, Item Template, Edit Item Template, Insert Item Template that displays the List View similar to the previous section. To make the implementation simple, i have made it as inline query and it is a good practise to have it as SP's.

Thus, we have learnt how to provide edit/update/delete and insert feature for List View Control.

Many fields types, such as the Bound Field, can generate their own editing interface, but with templates the page developer is on the hook for specifying the editing interface.