Microsoft
70-515 · Question #59
70-515 Question #59: Real Exam Question with Answer & Explanation
The correct answer is A. <asp:GridView ID="GridView1" C. <asp:XMLDataSource. See the full explanation below for the reasoning.
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
Community Discussion
No community discussion yet for this question.