One note will be helpful for you, while describing Columns in Grid View if you are using a boundfield then create objects of the control using cells[index] in the rowupdateing event of Grid View, but if you are using controls itself like Label or textboxes etc then use Fincontrol("stringid").Microsoft is conducting an online survey to understand your opinion of the Msdn Web site.The syntax for doing so is: Protected Sub GVSupport Info_Row Updating(sender As Object, e As System. In the following code snippet, I am trying to SELECT/EDIT/UPDATE/CANCEL/DELETE Grid View row. In this article I will show you how you can use the Object Data Source with the Grid View control to do editing, updating, deleting and adding new records.There are several ways to perform these operations, I am using the simplest approach.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.
Visual Studio allows developers to quickly put together a Web Forms page simply using drag and drop options from the Visual Studio editor.This event passes the necessary information to the method via the Grid View Update Event Args parameter. Find Control("Label20e"), Label) Sql DSupport Info. Then within the new method one can access controls within the Grid View row being edited by referencing the Row Index attribute of the Grid View’s Rows collection. Find Control("ddl Service Level List"), Drop Down List) Dim lbl Support Date As Label = CType(GVSupport Info. Today I was working on getting a row of the Grid View control to save the contents of a Drop Down List, and needed to add some custom code to set values passed to the Sql Data Source control on the update event. I found that simple data binding of my Drop Down List in my Grid View to my Sql Data Source was not going to be enough.