找考题网-背景图
单项选择题

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.

热门试题

单项选择题You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform.  You create an ASP.NET Web application using .NET Framework 4.0. The ASP.NET application is used to track employee performance. It uses Microsoft Windows authentication. Employees are members of a group named Employees.  Managers are members of a group named Managers.  The root folder of the application is named Details. The Details folder displays information about employees„ performance.  The Details folder has a subfolder named MoreDetails. You need to ensure that employees and managers can access pages stored in the Details folder. However, only managers can access pages stored in the MoreDetails folder.    You make the following entries in the Web.cong le in the Details folder. You make the following entries in the Web.cong le in the MoreDetails folder. When managers try to access pages stored in the MoreDetails folder, they receive the following error message: An error occurred during the processing of a conguration le required to service this request.  You must ensure that managers are able to access pages stored in the MoreDetails folder. What will you do to accomplish this?()

A.Add the following directive between line 1 and line 2 in the Web.config file in the MoreDetails folder:<identity impersonate="false" /> 
B.Modify line 4 in the Web.config file in the MoreDetails folder as follows:<allow users="*" />
C.Add the following directive between line 1 and line 2 in the Web.config file in the MoreDetails folder:<identity impersonate="true" /> 
D.Replace line 1 in the Web.config file in the MoreDetails folder with <authentication mode="Windows" />
E.Add the following directive between line 1 and line 2 in the Web.config file in the Details folder: <identity impersonate="true" />