What will you do to accomplish this?

You work as an ASP.NET Web Application Developer for SomeCompany.
The company uses Visual Studio .NET 2010 as its application development platform. You are creating an ASP.NET Web application using .NET Framework 4.0.
The Web application comprises a class named Employee with properties named as First Name, Last Name, and Age. You add a Web page in which you get a list of Employee objects and display those objects in a GridView control.
You are required to add code so that the GridView row is highlighted in red color if the age of the employee is less than 21 years. What will you do to accomplish this?
A. Use the RowCommand event of the GridView control.
B. Use the SelectedlndexChanged event of the GridView control.
C. Use the RowDataBound event of the GridView control.
D. Use the RowEditing event of the GridView control.
E. Use the RowUpdated event of the GridView control.

microsoft-exams

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.