This article is one in a series of articles on ASP. Some of these limitations were exhibited in the Updating Basics article when attempting to update a product's Category.
In short, you had to modify the product's value from 1 to 4.
A Sql Data Source control is configured as such when it has its method is invoked.
First, we’ll implement a method to databind the Grid View, which will be called whenever databinding needs to be performed.
It requires a little more effort, but in most cases these changes can be completed entirely through the Designer or the page's declarative markup.
In this installment we will extend the simplified editing interface from Updating Basics to include validation controls for the As we saw in the Updating Basics article, a Grid View can be made editable when it is bound to a data source control that has updating capabilities enabled.
The Grid View does know the events that should be used to implement them, so the exceptions shown above are thrown when you try to perform one of these operations, but you have implemented the appropriate event handler.
The example shown here is for a Grid View, but the same types of event handlers must be implemented in roughly the same way for other data controls including the Form View, Details View, and List View. This is the final Grid View markup, so you can see the event handlers we’re going to implement.