You are developing an ASP.NET Dynamic Data Web application. 

题目
单选题
You are developing an ASP.NET Dynamic Data Web application. Boolean fields must display as Yes or No instead of as a check box. You replace the markup in the default Boolean field template with the following markup.You need to implement the code that displays Yes or No. Which method of the FieldTemplateUserControl class should you override in the BooleanField class?()
A

OnLoad

B

Construct

C

OnDataBinding

D

SaveControlState

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

第1题:

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

第2题:

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

第3题:

Exhibit: You are developing a Web application. The Web application uses a GridView control to display data. You build your Web Forms for the Web application by dragging and dropping tables from the Data Connections tree in Server Explorer. You need to add a connection to your data by using the Add Connection dialog box as shown in the exhibit. During the process, you need to configure the .NET Data Provider that you use to create the data source objects. What should you do?()

A. Right-click the connection, and click Properties. Modify the Provider property of the data connection.

B. Click the Change button, and change the data provider for the selected data source.

C. Click the Advanced button, and change the Data Source property to the target provider.

D. Click the Advanced button, and change the Application Name property to the target provider.


参考答案:B

第4题:

Certkiller.com has employed you as a system administrator. Your job function encompassescreating an ASP.NET application for the network. You make use of Microsoft .NET Frameworkv3.5 to creaste the application.  You receive a request from management to capture the timing and performance data of the newlycreated application. For security purposes you need to make sure that he data is only availablewhen a Certkiller user is logged on to the Web server and not on individual Web pages.  What should you do?()

  • A、You should consider adding <trace enabled="true" writeToDiagnosticsTrace="true"pageOutput="true" localOnly="true" /> to the Web.config file.
  • B、You should consider adding <compilation debug="false" urlLinePragmas="true" /> to theWeb.config file.
  • C、You should consider adding <trace enabled="true" pageOutput="false" localOnly="true" /> tothe Web.config file.
  • D、You should consider adding <compilation debug="true" /> to the Web.config file.

正确答案:C

第5题:

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

第6题:

You are evaluating a Windows Azure application.  The application includes the following elements:   - A web role that provides the ASP.NET user interface and business logic   - A single SQL Azure database that contains all application data    Each page must receive data from the business logic layer before returning results to the client.  Traffic has increased significantly.   The business logic is causing high CPU usage.   You need to recommend an approach for scaling the application.  What should you recommend?()

  • A、 Move business logic to a worker role.
  • B、 Vertically partition the SQL Azure database.
  • C、 Store business logic results in Windows Azure local storage.
  • D、 Store business logic resultsin Windows Azure Table storage

正确答案:A

第7题:

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

第8题:

You are the newly appointed system administrator at Certkiller.com. The previous administratorcreated a Microsoft ASP.NET application using Microsoft .NET Framework v3.5.  You need to capture the timing and performance information of the application. Managementwants you to make sure that data is only accessible when a client is logged onto the Web servernot the individual Web pages.  What should you do?()

  • A、You should consider adding <compilation debug="true" /> to the Web.config file.
  • B、You should consider adding <compilation debug="false" urlLinePragmas="true" /> to theWeb.config file.
  • C、You should consider adding <trace enabled="true" writeToDiagnosticsTrace="true"pageOutput="true" localOnly="true" /> to the Web.config file.
  • D、You should consider adding <trace enabled="true" pageOutput="false" localOnly="true" /> tothe Web.config file.

正确答案:D

第9题:

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application uses Session objects. You are modifying the application to run on a Web farm. You need to ensure that the application can access the Session objects from all the servers in the Web farm. You also need to ensure that when any server in the Web farm restarts or stops responding, the Session objects are not lost.  What should you do?()

  • A、Use the InProc Session Management mode to store session data in the ASP.NET worker process. 
  • B、Use the SQLServer Session Management mode to store session data in a common Microsoft SQL Server 2005 database. 
  • C、Use the SQLServer Session Management mode to store session data in an individual database for each Web server in the Web farm. 
  • D、Use the StateServer Session Management mode to store session data in a common State Server process on a Web server in the Web farm. 

正确答案:B

第10题:

You are developing an ASP.NET Web application. The application must pass an object that contains user-specific data between multiple pages. The object ismore than 100 KB in size when serialized.You need to minimize the amount of data is sent to the user. What should you do?()

  • A、Pass the object data in a hidden field.
  • B、Store the object instance in a session variable.
  • C、Use a cookie that contains the object data.
  • D、Encode the object data and pass it in a query string parameter.

正确答案:B

更多相关问题