bob jason tiamsic

bob jason tiamsic

  • NA
  • 12
  • 7.4k

getting the selected row

Apr 3 2014 3:49 AM
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)