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.
Save all or press "Ctrl S" and hit "F5" to run the page, the page will look as in the following image: Click on "Edit the Grid View", it will display Textboxes in each cell as in the following image: Edit the value(s) here and click on the Update link, it will update all the data or to remove it click on the "Delete" link above the image shown.
One note will be helpful for you, while describing Columns in Grid View if you are using a boundfield then create objects of the control using cells[index] in the rowupdateing event of Grid View, but if you are using controls itself like Label or textboxes etc then use Fincontrol("stringid").
Find Control("txtname"), Text Box) Dim stor_address As Text Box = Direct Cast(grid View.
Find Control("txtaddress"), Text Box) Dim city As Text Box = Direct Cast(grid View.
Follow this link for more details --While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference.
event is raised when a row's Update button is clicked, but after the Grid View control updates the row.
Unfortunately the Data List, unlike the Gridview, does not have all the features such as paging and sorting that are commonly required.
So if you still need or want to use the Grid View, but also need more control on the way that the table is rendered, you can use the Grid View events and properties.
After searching long and hard I found a great article that solved my issue.
Take a look at the page load if you are binding on post back then the values get updated before you are able to access them.
" Select Command="SELECT a.tenantcode, a.name, a.fixedrate, a.percentrate, a.percentage, b.locationd, c.status FROM TENANTNEW AS a INNER JOIN LOCATION AS b ON a.