Article ID: 271621 - Last Review: November 22, 2005 - Revision: 2.5 How To Retrieve XML Data with a Template File from a Visual Basic ClientThis article was previously published under Q271621 SUMMARY
This sample in this article demonstrates how to retrieve an XML document from SQL Server 2000 by using a template file that contains parameters. More specifically, a query is issued against SQL Server 2000 by using an ActiveX Data Objects (ADO) 2.6 command stream. This query fetches the XML DataStream. This sample reads the "products.xml" template file from disk and sets the command text for the ADODB.Command object for the query to run. You must set the following properties for the Properties collection of the ADODB.Command object:
MORE INFORMATION
REFERENCES
For more information about SQL Server 2000, see SQL Server Books Online. For more information on XML, visit the following Microsoft Web site: http://msdn.microsoft.com/xml
(http://msdn.microsoft.com/xml)
For more information about XML, visit the following World Wide Web Consortium (W3C) Web site:
http://www.w3.org/xml
(http://www.w3.org/xml)
APPLIES TO
| Article Translations
|

Back to the top
