Onrowupdating in

In this article I will explain how to edit master-detail form using Grid View and Details View control in ASP.

If you don't use one of the Data Source controls, you are required to handle the Row Updating event. This is all started from the Data Tutorial series found on the website. tabid=63 Maybe I should look into using the Get Products method with an Object Data Source and see how that works. Now I can get the Bound Field newvalues with no problem in the Row Updating event. I've deleted the datasource and gridview and started again from scratch, but I still get the same problem. Since you are not using the datasource controls(which is a good thing), the Old Values and New Values collections will not be populated automatically. So, here is some sample code that I use, and maybe it will help you: This goes in your Row Updating event Dim cell As Data Control Field Cell = Nothing 'This type will change if you are using Bound Fields 'The collection(s) have to be populated for EACH cell.

Leave a Reply