read xml file to dataset

G

Guest

how can i read xml file to dataSet?

this is what i have written so far-

dim db1 as database
db1=new dataBase
db1.readXmlSchema("fileName.xsd")
db1.readXml("fileName.xml")

what am i missing??
thanks in advanced!!
 
C

Cor Ligthert

SGallit,

Not every XML file is a datast.
A dataset is a XML file from a special format.

Are you sure you try to read an XML dataset?

Cor
 

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

Top