![]() The custom class that will be shown uses the XmlTextReader to parse data from an XML document named customers.xml and create insert statements that can be executed against the database. If you're not familiar with the Northwind database, it is a sample database that ships with several Microsoft products including SQL Server and Access. Let's examine a situation where an XML document with complex hierarchical relationships needs to be parsed so that the data it contains can be moved into the Northwind database's Customers table. ![]() Moving XML into Northwind's Customers Table with the XmlTextReader NET offers several different ways for performing this task, the XmlTextReader represents the most efficient and scalable solution. As XML becomes more and more prolific in the world of data exchange it's increasingly important that data can be quickly and easily extracted from XML documents and moved into more permanent data stores.Īlthough.
0 Comments
Leave a Reply. |