Select from following answers:- Row_Cancel
- Selected_IndexChanged

- Row_Command
- Row_Updating
- All Above
Selected_IndexChanged is the only Gridview event, in which we can use SelectedRow Property to find any control withing gridview as below :-
Label lbl_answer = gridview1.SelectedRow.FindControl("lbl_question_answer") as Label;
We can use Row_Updating event to find controls as
Label lbl_answer = gridview1.Rows[e.RowIndex].FindControl("lbl_question_answer") as Label;
Row_Cancel event is only used to cancel any rows which are being editing.
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator