70-515 · Question #59
You are developing an ASP.NET web page. The page must display data from XML file named Inventory.xml. Inventory.xml contains data in the following format. <?xml version="1.0" standalone="yes"?>…
Sign in or unlock 70-515 to reveal the answer and full explanation for question #59. The question stem and answer options stay visible for context.
Question
You are developing an ASP.NET web page. The page must display data from XML file named Inventory.xml. Inventory.xml contains data in the following format. <?xml version="1.0" standalone="yes"?> <inventory> <vehicle Make="BMW" Model="M3" Year="2005" Price="30000" instock="Yes"> <Ratings>....</Ratings> </Vechicle> .... </Inventory> You need to display Vehicle elements that have the inStock attribute set to YES. Wich two controls should you add to the page? (Each control presents part of the solution.Choose two.)
Options
- A<asp:GridView ID="GridView1"
- B<asp:GridView ID="GridView1"
- C<asp:XMLDataSource
- D<asp:XMLDataSource
Unlock 70-515 to see the answer
You've previewed enough free 70-515 questions. Unlock 70-515 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.