单选题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 need to ensure that the application is able to load staff information from an XML file into aDataSet instance. The XML 

题目
单选题
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 need to ensure that the application is able to load staff information from an XML file into aDataSet instance. The XML file contains an inline schema. You have to call a method of theDataSet class in order to load the information.  Identify how you can accomplish this?()
A

You should call the ReadXml method with the ReadSchema XML read mode.

B

You should call the ReadXml method with the InferTypedSchema XML read mode.

C

You should call the ReadXmlSchema method.

D

You should call the ReadXml method with the InferSchema XML read mode.

参考答案和解析
正确答案: C
解析: 暂无解析
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

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 create a folder named Dark in the App_Themes folder of the Web application. You also addfour skin files to this folder. You have to make sure that the controls on a page have their appearances overridden by the control definitions defined in the skin files. What should you do?  Which Page directive should you use?()

  • A、You should use the page directive: <%@ Page StyleSheetTheme="App_Themes.Dark"/>
  • B、You should use the page directive: <%@ Page Theme="App_Themes.Dark"/>
  • C、You should use the page directive: <%@ Page Theme="Dark"/>
  • D、You should use the page directive: <%@ Page StyleSheetTheme="Dark"/>

正确答案:C

第2题:

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You plan to deploy the application to a test server.  You need to ensure that during the initial request to the application, the code-behind files for the Web pages are compiled. You also need to optimize the performance of the application.  Which code fragment should you add to the Web.config file?()

  • A、<compilation debug="true"> 
  • B、<compilation debug="false"> 
  • C、<compilation debug="true" batch="true"> 
  • D、<compilation debug="false" batch="false">

正确答案:B

第3题:

You are currently in the process of creating an application that reads binary information from a file.You need to ensure that the only the first kilobyte of data is retrieved.What should you do?()

A.

B.

C.

D.


参考答案:B

第4题:

You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  The configuration below exists in the Web.config file:     Certkiller.com hosts the Web application in Microsoft Internet Information Services (IIS) 6.0. TheIntegrated Windows Authentication is enabled in IIS and anonymous access disabled. The application pool is configured to run as the identity Certkiller/WebApp. The IIS anonymous accountis Certkiller/Anonymous.  The following code exists in the code-behind file for a web form:  stringname = WindowsIdentity.GetCurrent().Name;  Response.Write(name); A Certkiller.com employee named RoryAllen has a domain user account named Certkiller/RAllen.He uses this account to access the page. However, Rory Allen logs in to the Web application withthe user name FormsUser. You need to determine the output of this code when Rory Allenaccesses the page. What will the output of this code be?()

  • A、The output will be FormsUser.
  • B、The output will be Certkiller/RAllen.
  • C、The output will be Certkiller/Anonymous.
  • D、The output will be Certkiller/WebApp

正确答案:D

第5题:

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 decide to enable session state for the application. You need to determine whether the sessionID is maintained in the URL of the request.  What should you do?()

  • A、The RequestType property of the HttpRequest class should be accessed.
  • B、The IsCookieless property of the HttpSessionState class should be accessed.
  • C、The UrlDecode method of the HttpServerUtility class should be accessed.
  • D、The UrlEncode method of the HttpServerUtility class should be accessed.

正确答案:B

第6题:

You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  This application will be part of a solution that contains a Windows Communication Foundation (WCF) service project. The Web application will be used to make calls to a service identified in theWCF service project. Management is planning to host the Web application on a separate serverfrom the WCF service. They want the WCF service to perform remotely. You need to add areference to the WCF service.  What should you do?()

  • A、You should add an assembly reference to the project.
  • B、You should add a project reference to the project.
  • C、You should add a Web reference to the project.
  • D、You should add a service reference to the project.

正确答案:D

第7题:

You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  An exception management framework is not used in the Web application. You need to ensure thatthe application log the unhandled exceptions automatically to the event log. You need to configurethe Web.config file to accomplish this. Identify the configuration that will assist you in thisscenario?()

  • A、You should consider using the <healthMonitoring enabled="true"/> configuration.
  • B、You should consider using the <deployment retail="true"/> configuration.
  • C、You should consider using the <customErrors mode="On"/> configuration.
  • D、You should consider using the <trace enabled="true"/> configuration.

正确答案:A

第8题:

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

第9题:

You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5. The following markup should be added to a page:   The Question control is a custom server control that originates from the WebControl. This controldoes not implement any interfaces. The following characteristics are applied to the control’s class:ToolboxData, Designer, and DefaultProperty. You have to make sure that the Question control is able to participate in server-side validation onthis page. What should you do?()

  • A、You should consider modifying the Question control’s class in order to implement IValidator.
  • B、You should consider setting the ValidationGroup property of the RequiredFieldValidator controlto UserControl.
  • C、You should apply the ValidationProperty feature to the Question control’s class.
  • D、You should consider setting the InitialValue property of the RequiredFieldValidator control to anempty string.

正确答案:C

第10题:

You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  A third-party assembly contains custom server controls. This assembly does not contain a strongname and it’s not part of the application’s Microsoft Visual Studio 2008 solution. You have to makesure that the other users are able to use the custom controls. You decide to configure theapplications project.  What should you do?()

  • A、You should add a project reference to the project.
  • B、You should add a Web reference to the project.
  • C、You should add a service reference to the project.
  • D、You should add an assembly reference to the project.

正确答案:D

更多相关问题