I have a gridview with a buttonfield. I want to update a table in my database and change the button image on button click. What is best event for that where i can access the row index as well?
I have tried using the RowCommand event but cant access the row index from that event
I have a gridview with a buttonfield. I want to update a table in
Share
You can try with this code – based on
CommandArgumentLink : http://msdn.microsoft.com/fr-fr/library/system.web.ui.webcontrols.gridview.rowcommand(v=vs.80).aspx