试题详情
单项选择题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.

  • C
  • 关注下方微信公众号,在线模考后查看

热门试题