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.
I would need to set values passed to the Sql Data Source control on the update event, and as part of this I would need to reference the controls contained in the row being updated.
I am unable to find any control in row editing event of gridview that i have put in edit template.
I have to populate the dropdown control so that in editing the user can select value from the control.
To do this, I created an instance of the Row Updating event for the Grid View.
This event passes the necessary information to the method via the Grid View Update Event Args parameter. Find Control("Label20e"), Label) Sql DSupport Info.