Which GridView event should you handle?

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?

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?

A.
RowDataBound

B.
RowCommand

C.
RowUpdated

D.
RowEditing



Leave a Reply 0

Your email address will not be published. Required fields are marked *