0
Answer

Unable to update and delete data after it's filtered

I seem to be having trouble with an app that I'm working on.

Currently I have a gridview and a txtbox/button for the user to enter search value. Once the set of filtered data is retrieved when I attempt to click edit to update the row, it revert back to the first row on the grid. How can I edit the rows that are filtered?

I attempted to look online but couldn't find an example that would help me.

Can you provide a link of a demonstration as to how to perform CRUD operations after filtering data from a gridview?

The code is as follows:

Gridview: http://pastebin.com/i6mkzara

Code behind: http://pastebin.com/rKvkT4ZY