单项选择题
A.@ MasterType B.@ Master C.@ PageType D.@ MasterPage
YouaredevelopinganASP.NETWebapplication.Applicationdata...
单项选择题You are developing an ASP.NET Web application. Application data is stored in a Microsoft SQL Server 2008 database. You configure a connection string named cnnContoso. The application must cache the data that is returned from the database by using this connection string. You need to ensure that the application checks the database every 10 seconds. What should you do? ()
A.Add the following configuration to the section of the web.config file. B.Add the following configuration to the section of the web.config file. C.Add the following @ Page directive to pages that query the database. D.Add the following @ Page directive to pages that query the database.
You are developing an ASP.NET Web service. The followin...
多项选择题
You are developing an ASP.NET Web service. The following code segment implements the service. You need to ensure that both GetProduct methods can be called from a Web client. Which two actions should you perform?()
A.Remove line 01. B.Add the static modifier on lines 05 and 11. C.Add the following attribute before line 10. [SoapDocumentMethod(Action="GetProductById")] D.Modify the attribute on line 10 as follows. [WebMethod(MessageName="GetProductById")]
YouaredevelopinganASP.NETDynamicDataWebapplication.Bool...
单项选择题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