Start Formview onitemupdating

Formview onitemupdating

In this example, I'm assuming that I'm displaying a set of Customer objects of some kind in a List(of Customer).

This causes the Form View to have an empty old Values and new Values collection when it updates. I then tried an alternative method, strongly typing the Data Item from the container.

But you can skip the Data Source and use the Data Views to handle displaying and updating any collection of objects you want, with a few lines of code.

NET Data Views are powerful tools when coupled with a Data Source.

Then use the codes below to complete this application.