Gridview updating event in asp net

Rated 4.13/5 based on 613 customer reviews

To finish up then one has to set the Sql Data Source Update Parameters to the desired values. The syntax for doing so is: Protected Sub GVSupport Info_Row Updating(sender As Object, e As System.

gridview updating event in asp net-84

gridview updating event in asp net-88

gridview updating event in asp net-87

Binding form controls is mostly a simple matter of attaching a Data Source and setting your controls to reference the correct field in the Data Source.

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.

For demonstration I have created a database (named Database.mdf) in which we have a table named tbl_Employee.

The Grid View control is used to display the values of a data source in a table.

Leave a Reply