Rowupdating in gridview in asp net example


04-Nov-2016 20:13

A Grid View Updated Event Args object is passed to the event-handling method, which enables you to determine the number of rows affected and any exceptions that might have occurred.

You can also indicate whether the exception was handled in the event-handling method by setting the On Row Updated Row Canceling Edit On Row Canceling Edit Row Deleted On Row Deleted Row Deleting On Row Deleting Row Editing On Row Editing Row Updating On Row Updating Grid View Class System.

A Grid View Update Event Args object is passed to the event-handling method, which enables you to determine the index of the current row and to indicate that the update operation should be canceled.

To cancel the update operation, set the collections, if necessary, before the values are passed to the data source.

whether a template field has information of "Command" or "String" so that later data retrieval and data binding of that particular child control will be made accordingly.

A "Command" (Edit, Delete, and Insert) requires instantiation in the Button control while he "String" requires a Label or Text Box.

event is raised when a row's Update button is clicked, but before the Grid View control updates the row.

If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]

Every one can use it to compare the new value with old ones.



She is the longest-serving female presenter of Blue Peter, having presented it from 1 December 1997 until 23 January 2008. Rani Mukerji (born 21 March 1978 Mumbai, Maharashtra, India) is an Indian film actress.… continue reading »


Read more

Champion 9783540714286 3540714286 Basiswissen Rechtsmedizin, Burkhard Madea, Reinhard B.… continue reading »


Read more

Bourg, Glenn Seemann 9780397510733 039751073X Corneal and Refractive Surgery, Herbert E.… continue reading »


Read more