In the Row Updating event the New Values, Old Values, and All Keyscollections are empty. R C# "To populate the New Values collection, put the following code in the Row Updating event:"Grid View gv = (Grid View)sender; for (int... Protected Sub ods Parent Supp By ID_Deleted(By Val sender As Object, By Val e As System. I have worked before with gridview row update/delete.never faced such problem.
From this Use Net thread apparently the collections are only available when using the datasource controls or the objectdatasource. Gridview Hello I am having problems extracting the Old Values collection from the Row Updating event in my Grid View. Datagrid(1.1) to Grid View(2.0) and using the Row Updating event how to extract the values from the controls. I want to validate the user input before my row is updated.
Where am i goin wrong...suggest....improvement in the above code shall b appreciated.