Well it would help if you mentioned what method you are attempting to do this within.
Somehow you need to get a reference to the specific GridView that you're working with. Using that instance you can access the GridView's properties, methods etc.
Just typing GridView will give you access to the GridView Type. It's not very helpful if you want to access the properties of a specific instance of a GridView (which is an Object).
Use the look through the GridViewRow Members for something that would help you get a reference to the GridView that it is part of (try the Parent Property for example). For some reason there is something tugging at my memory about using the naming container but...not sure if it would help you much in this case. I think the Parent property will do fine