I have 2 Gridviews which share the same OnSelectedIndexChanged event.
How do I get the incoming Gridview the one which fired so that I can pass that GridView to DetailsView. In that DetailsView I need to access the selected Gridview columns.
Thanks In Advance.
The “sender” parameter of the OnSelectedIndexChanged event should be the GridView that the event came from. You can get at it like this: