Microsoft
70-515 · Question #165
You are implementing an ASP.NET application. The application includes a Person class with property Age. You add a page in which you get a list of Person objects and display the objects in a GridView…
The correct answer is A. RowDataBound. See the full explanation below for the reasoning.
Question
You are implementing an ASP.NET application. The application includes a Person class with property Age. You add a page in which you get a list of Person objects and display the objects in a GridView control. You need to add code so that the GridView row is highlighted in red if the age of the person is less than 18. Which GridView event should you handle?
Options
- ARowDataBound
- BRowCommand
- CRowUpdated
- DRowEditing
How the community answered
(43 responses)- A84% (36)
- B9% (4)
- C5% (2)
- D2% (1)
Community Discussion
No community discussion yet for this question.