ExecuteXMLReader command returns XML data - ADO.NET

Q.  If you want that command object should returns XML data then which method of Command Object will be used?
- Published on 28 Jul 15

a. getXMLData
b. getXML
c. ExecuteXMLReader
d. None of the above.

ANSWER: ExecuteXMLReader
 

    Discussion

  • Brijesh   -Posted on 19 Oct 15
    ExecuteXMLReader method returns a System.Xml.XmlReader Object.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)