Stay tuned and stay connected for more technical updates.Please don't create new accounts and ask the same exact question again.When I click the "Edit" button of the gridview, it will show "Update" and "Cancel" button. New Edit Index 'Bind data to the Grid View control. Edit Index = -1 'Bind data to the Grid View control. But when I click "Update" button, it will not fire any event "Row Updating", Row Updated", "Row Command"... The following is my asp code: Protected Sub Grid View1_Row Editing(By Val sender As Object, By Val e As Grid View Edit Event Args) 'Set the edit index. Bind Data() End Sub Protected Sub Grid View1_Row Canceling Edit(By Val sender As Object, By Val e As Grid View Cancel Edit Event Args) 'Reset the edit index. Edit Index = -1 'Bind data to the Grid View control. Bind Data() End Sub Private Sub Bind Data() Dim Start Date Str As String Start Date Str = Trim(Request.
You'll be able to ask questions about coding or chat with the community and help others.
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.
aspdotnet-suresh offers C#articles and tutorials,csharp dot net,articles and tutorials, VB.
If you like my work; you can appreciate by leaving your comments, hitting Facebook like button, following on Google , Twitter, Linkedin and Pinterest, stumbling my posts on stumble upon and subscribing for receiving free updates directly to your inbox .