Well, if you’ve got a Grid View, you may want to have programmatic decision making logic in place based on an update event happening.This might be useful if you are checking to see if the user actually changed a value, or just clicked the update button.Follow bellow steps to know how to work with Grid View in ASP. For updating records click button “Edit” and change Text Box Data and you can select new photo of employee.For example in place of age “28”, updated with “30” and in place of salary “50000”, updated with “55000”, then click button “Update”. These properties will automatically render Edit, Update and Cancel buttons inside Grid View column.I am using Template Field’s Item Template and Edit Item Template for providing read only and editing interface of the same column in the Grid View.
It's a bit different of a set up, as all the controls are in a single column (maybe this is causing the problems? I do not receive any runtime errors, so it must be logic. ASP The order in which your events are firing might be the problem.To cancel the update operation, set the collections, if necessary, before the values are passed to the data source.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. before that i want just using Find control and casting and then retrieving all lot code. If values are same they could notify user to change the value(give new cell value). Every one can use it to compare the new value with old ones.