New Values,this is equal to Nothing, I Bind it to List object.
I've tried not to bind the grid in Row Updating event,but then the editing row does not close and the row is not being updated.
Edit Index = -1; after debugging code with breakpoint this it goes back to page and it shows gridview with below and if I want change quantity=67 and click update .
event is raised when a row's Update button is clicked, but after the Grid View control updates the row.
To cancel the update operation, set the collections, if necessary, before the values are passed to the data source. First time when I click on edit button its not showing update cancel linkbuttons when I click second time on edit button then it shows both link button I updated any data In those textboxes and click on update .whole row is disappearing string dsc = ((Text Box)row. Value); string str = "update testitem set [email protected], [email protected], [email protected] where [email protected] and [email protected]"; Sql Command cmd = new Sql Command(str, con); cmd. event is raised when a row's Update button is clicked, but before the Grid View control updates the row.This enables you to provide an event-handling method that performs a custom routine, such as canceling the update operation, whenever this event occurs.