How to handle edit event with custom code in gridview control?
Hi, I'm using VS2012, C# and asp.net.
I have a collection, List<UserPrincipal>, that I use as a datasource and binded to the gridview, by code. In gridview control property I set generate Edit button. Since the data source is not from a dataset. How can I have my own code executed when user selects "Update" button in the grid?