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

How boxing and unboxing occures in memory?

835


Explain what is an anonymous method and how is it different from a lambda expression?

699


What’s different between process and application in .net?

815


How is meant by dll in .net?

770


What is STA in .NET?

840


Explain what is the difference between odbc and ado?

706


What is data type and how many types of data types are in .NET ?

749


What is the difference between vb.net and vc#.net?

785


Is .net core installed?

768


Explain Creational design pattern in .NET?

819


Explain soap and xml?

761


what is the keyword used for self reference?

2157


What is the use of gacutil.exe?

873


What is the single responsibility principle?

781


How viewstate is being formed and how it's stored on client in .net?

780