You are implementing an ASP.NET application. The application

题目
单选题
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

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You are developing an ASP.NET application by using Visual Studio 2010. You need to interactively debug the entire application. Which two actions should you perform? ()

  • A、Set the Debug attribute of the compilation node of the web.config file to true.
  • B、Add a DebuggerDisplay attribute to the code-behind file of the page that you want to debug.
  • C、Select the ASP.NET debugger option in the project properties.
  • D、Define the DEBUG constant in the project settings.

正确答案:A,C

第2题:

You have a Microsoft ASP.NET Framework version 1.0 application. The application does not use any features that are deprecated in the Microsoft .NET Framework version 3.5. The application runs on Microsoft IIS 6.0.  You need to configure the application to use the ASP.NET Framework version 3.5 without recompiling the application.  What should you do?()

  • A、Edit the ASP.NET runtime version in IIS 6.0. 
  • B、Edit the System.Web section handler version number in the machine.config file. 
  • C、Add the requiredRuntime configuration element to the Web.config file and set the version attribute to v3.5. 
  • D、Add the supportedRuntime configuration element in the Web.config file and set the version attribute to v3.5.

正确答案:A

第3题:

You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  You host the Web application in Microsoft Internet Information Services (IIS) 6.0. You browse theapplication and receive the following error message:  Server Application Unavailable  The web application you are attempting to access on this web server is currently unavailable.Please hit the "Refresh" button in your web browser to retry your request.  You view the Application event log and discover the following message:  It is not possible to run two different versions of ASP.NET in the same IIS process. Please use theIIS Administration Tool to reconfigure your server to run the application in a separate process.  To ensure productivity you need to solve this problem as quick as possible.  What should you do?()

  • A、You should change the IIS isolation mode.
  • B、You should assign the application to another application pool.
  • C、You should configure all applications that are part of your application's application pool in orderto use the same version of ASP.NET.
  • D、You should run the Aspnet_regiis.exe Tool.
  • E、You should restart the application pool that hosts the application.

正确答案:B,C

第4题:

You are a desktop administrator for your company. You are responsible for deploying a new application. The application is packaged in an .msi file. You need to deploy the application to only three users in the company. The .msi file contains all of the information necessary to correctly install the application. You need to install the application so that users see information about the installation progress, but no other user interface is displayed during the installation. What should you do?()

  • A、Use the Msiexec.exe program to perform a quiet installation of the application.
  • B、Use the Msiexec.exe program to perform a passive installation of the application. 
  • C、Create a Group Policy object (GPO) that assigns the application. Link the GPO to the site containing the users who will use the application. 
  • D、Create a Group Policy object (GPO) that advertises the application. Link the GPO to the domain. 

正确答案:B

第5题:

You have a Microsoft ASP.NET Framework version 1.0 application. The application does not use any  | English | Chinese | Japan | Korean | - 106 - Test Information Co., Ltd. All rights reserved. features that are deprecated in the Microsoft .NET Framework version 3.5. The application runs on Microsoft IIS 6.0.  You need to configure the application to use the ASP.NET Framework version 3.5 without recompiling the application.  What should you do?()

  • A、Edit the ASP.NET runtime version in IIS 6.0.
  • B、Edit the System.Web section handler version number in the machine.config file.
  • C、Add the requiredRuntime configuration element to the Web.config file and set the version attribute to v3.5.
  • D、Add the supportedRuntime configuration element in the Web.config file and set the version attribute to v3.5.

正确答案:A

第6题:

You recently installed an application on your computer. The application is configured to automatically start. This application might cause your computer to run slower.  You need to prevent the application from auto starting without uninstalling the application.  What should you do?()

  • A、Use the Microsoft Windows Task Manager application to end the task for the application.
  • B、Use the Control Panel application to uninstall the application. Reboot the computer.
  • C、Use the Software Explorer application to disable the application. Reboot the computer.
  • D、Use the Services application to disable the Application Experience service, and then launch the application.

正确答案:C

第7题:

You are developing an ASP.NET Web application. You create a master page. The master page requires a region where you can add page-specific content by using the ASP.NET page designer.  You need to add a control to the master page to define the region. Which control should you add?()

  • A、Content
  • B、ContentPlaceHolder
  • C、PlaceHolder
  • D、Substitution

正确答案:B

第8题:

You create a Microsoft ASP.NET Web application by using the Microsoft .NET Framework version 3.5.  When you review the application performance counters, you discover that there is an unexpected increase in the value of the Application Restarts counter. You need to identify the reasons for this increase.  What are three possible reasons that could cause this increase?()

  • A、Restart of the Microsoft IIS 6.0 host. 
  • B、Restart of the Microsoft Windows Server 2003 that hosts the Web application. 
  • C、Addition of a new assembly in the Bin directory of the application. 
  • D、Addition of a code segment that requires recompilation to the ASP.NET Web application. 
  • E、Enabling of HTTP compression in the Microsoft IIS 6.0 manager for the application. 
  • F、Modification to the Web.config file in the <system.web> section for debugging the application.

正确答案:C,D,F

第9题:

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  When you access the application in a Web browser, you receive the following error message: "Service Unavailable".  You need to access the application successfully.  What should you do? ()

  • A、Start Microsoft IIS 6.0.
  • B、Start the Application pool.
  • C、Set the .NET Framework version.
  • D、Add the Web.config file for the application.

正确答案:B

第10题:

You are developing an ASP.NET Web application. You create a master page. The master page requires a region where you can add page-specific content by using theASP.NET page designer. You need to add a control to the master page to define the region. Which control should you add?()

  • A、PlaceHolder
  • B、ContentPlaceHolder
  • C、Content
  • D、Substituition

正确答案:B

更多相关问题