You can handle the button's Click event and in there retrieve a reference to the grid's CurrentItem (the button that was clicked will be located in the current item). From there, you can access the grid's Items collection and get the index of the current item using IndexOf.
Technical Writer - Xceed Software
In three words I can sum up everything I've learned about life: it goes on.