How can you access and display the row index of a gridview item as the command argument in a buttonfield column button?
I think this will work.