How can we convert XML data into DataBase table IN .Net?

Answer Posted / lince

Dim xmlreadFile As XmlReader
Dim ds As New DataSet
Dim dt As New DataTable
xmlreadFile = XmlReader.Create("product2.xml", New XmlReaderSettings)
ds.ReadXml(xmlreadFile)
dt = ds.Tables(0)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is singlecall activation mode used for in .net?

808


How do you trigger the paint event in system.drawing?

781


What are virtual destructures?

758


Explain the garbage collection process?

848


What is the best way to crack the certification?

1605


What are .net applications?

775


What is difference between static page and dynamic page?

793


Differences between dll and exe?

856


What are the features of dot net?

818


What is the purpose of enumerable class in .net?

872


What is meant by managed and unmanaged code?

888


Using activex control in .net?

772


Explain how to manage pagination in a page using .net?

761


How many types of transactions are there in com + .net ?

802


Tell us the differences between an interface and an abstract class in .net?

825