ADO from XML

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello. I was wondering the best approach to read from a dataset, which
contains an xmldocument. I used dataset.readxml(new
stringreader(xmldocument.outerxml)). My goal is to shape the data into a
table so I can define rows and columns.
 
Hi,

It depends of the XML data, the method that you are using can not work
always. if the xml format is not the expected by the dataset you may get
error, now the dataset can infer the structure of the data so it would try
to do its best.

I would read the XML file and then parse it as needed. and just fill the
dataset from code
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top