Article ID: 271620 - Last Review: July 13, 2004 - Revision: 5.5 How To Retrieve XML Data by Using a SQL XML Query in a Visual Basic ClientThis article was previously published under Q271620 SUMMARY If you run an ADODB command stream and specify SQL SELECT with the FOR XML AUTO clause, an XML document stream is fetched from SQL Server and
displayed in the Visual Basic Intermediate window. You must set the following properties for the Properties collection of the ADODB.Command object:
MORE INFORMATION
REFERENCES
For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
316364
(http://support.microsoft.com/kb/316364/
)
How To Quote a Member of the Connection String in ADO.NET By Using
Visual Basic .NET
307224
(http://support.microsoft.com/kb/307224/
)
How To Use
XML in Connected and Disconnected ADO.NET Applications
For information about SQL 2000 and mapping schema,
see SQL Server Books Online.For XML, please see the XML information on MSDN on the following Microsoft Web site: http://msdn.microsoft.com/xml
(http://msdn.microsoft.com/xml)
APPLIES TO
| Article Translations
|
Back to the top
