1
Answer

getting the selected row

Hello.
Can anyone here please explain to be the function of this line of codes?

GridViewRow row = (GridViewRow)((Control)e.CommandSource).Parent.Parent;

what does each word mean?
especially these
-Control
-commandsource
.parent
.parent

and what does this return?

Thanks and have a nice day

Answers (1)