How To Obtain an ADO Recordset from XML (263247)
The information in this article applies to:
- Microsoft Data Access Components 2.5
- Microsoft Data Access Components 2.6
- Microsoft Data Access Components 2.7
- Microsoft XML 4.0
- Microsoft XML 2.5
- Microsoft XML 2.6
- Microsoft XML 3.0
This article was previously published under Q263247 SUMMARY If you have an XML string or document you may use it to
open an ActiveX Data Objects (ADO) recordset. You can do this by using the
Microsoft ADO 2.5 Stream object and the new XML integration features in
ADO. This article describes the mechanism required to load the
following into an ADO 2.5 recordset:
- A string containing XML.
-and-
- An XML DOM Document instance.
Provided the XML data is in the format where ADO recordset can
accept. REFERENCES For
additional information, click the following article number to view the article
in the Microsoft Knowledge Base: 309702
How To Read XML Data into a DataSet by Using Visual Basic .NET
For more information about ADO, see to the
following Web site: For more information regarding the schema an XML document must
conform to to be opened correctly by an ADO 2.5 recordset, see the "XML
Persistence Format" section of the following article: (c) Microsoft Corporation 2000, All Rights Reserved.
Contributions by Edward A. Jezierski, Microsoft Corporation.
| Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
|---|
| Keywords: | kbCodeSnippet kbhowto KB263247 |
|---|
|