A common way to use these collections is to HTML-encode the values supplied by the user before they are stored in the data source.
Had we used the 'Register Client Script Block', the browser would have executed the Java Script before the text box is on the page.
Within the Item Template I have an Image Buttong with a Command Name of "Edit".
To cancel the update operation, set the collections, if necessary, before the values are passed to the data source.
Upon modifying the values in textbox which come from Edit Item Template , the new values dont show in the event handler rowupdating(), instead I get the values which appear when the page was rendered.
You're accessing so many items without null checks that it could be any number of things. Are you sure all of the controls exist in the cells you're specifying?
Every one can use it to compare the new value with old ones.
After searching long and hard I found a great article that solved my issue.