black

MCTS(70-515)

登录

多项选择题

You are implementing a new Dynamic Data Web site. The Web site includes a Web page that has an ObjectDataSource control named ObjectDataSource1. ObjectDataSource1 interacts with a Web service that exposes methods for listing and editing instances of a class named Product. You add a GridView control named GridView1 to the page, and you specify that GridView1 should use ObjectDataSource1 as its data source. You then configure GridView1 to auto-generate fields and to enable editing. You need to add Dynamic Data behavior to GridView1. You also must ensure that users can use GridView1 to update Product instances. Which two actions should you perform?()

A.Add a DynamicDataManager control to the Web page.
B.Disable the auto-generated fields on GridView1. Add a DynamicField control for each field of the Product class.
C.Add the following code segment to the Application_Start method in the Global.asax.cs file.
D.Add the following code segment to the Page_Init method of the Web page.

相关考题

单项选择题 You are implementing an ASP.NET Dynamic Data Web site. The Web site includes a data context that enables automatic scaffolding for all tables in the data model. The Global.asax.cs file contains the following code segment. You need to display the items in a table named Products by using a custom layout. What should you do?()

多项选择题 You are implementing an ASP.NET Web site. The site contains the following class.  The Web site interacts with an external data service that requires Address instances to be given in the following XML format. You need to ensure that Address instances that are serialized by the XmlSerializer class meet the XML format requirements of the external data service. Which two actions should you perform.()

多项选择题 You are implementing an ASP.NET Web site. The Web site contains a Web service named CustomerService. The code-behind file for the CustomerService class contains the following code segment. You need to ensure that the GetProducts method can be called by using AJAX.Which two actions should you perform?()

All Rights Reserved 版权所有©PP题库网库(pptiku.com)

备案号:湘ICP备14005140号-5

经营许可证号:湘B2-20140064