Gridview rowupdating neweditindex
In this article, I am going to explain how to manipulate data using Grid View control.
This article scope is limited to Updating and Deleting records using Grid View and I am not using any readymade Data controls for that but manually writing all event methods.
Yes, I did put the breakpoint at the Row Updating line (and not in the function).
You have to make sure that you aren't setting your Grid View's data when it is not postback.
Do you have some sort of Java Script functionality that may be stopping it? A common problem people have with Grid Views is understanding when to data bind the data source to the Grid View.
But as I noted in the comments in that method, some collections that should contain the columns (names, old values and new values) are always empty. And the Row Updated method is never even touched!!! NET Forums that I need to use a Data Source control.I will be using Sql objects directly into methods to keep the example simple and straight forward.