You create an XmlReader to read the following XML fragment:

<book genre="non-fiction" ISBN="0-735622-77-9">
<title>MCTS Self-Paced Training Kit (Exam 70-536): Microsoft .NET Framework 2.0 Application Development Foundation</title>

You add code to position the XmlReader on the pages start tag. You need to read the value given by the pages element.

Which XmlReader method should you use?

 Posted by Rajkatie on 8/31/2012 | Category: ADO.NET Interview questions | Views: 1140 | Points: 40
Select from following answers:
  1. ReadString
  2. ReadOuterXml
  3. ReadStartElement
  4. All Above

Show Correct Answer

Source: MeasureUp.Com | | Alert Moderator 

Comments or Responses

Login to post response