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

Answers were Sorted based on User's Feedback



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

Answer / naveen kumar

dSet.ReadXml(Server.MapPath("Forms.xml"))

Is This Answer Correct ?    14 Yes 3 No

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

Answer / om namo bagavathe vasudevaya n

DataSet ds=new DataSet();
ds.ReadXml(Server.MapPath("XMLFILENAME.xml"));
DataTable tb=new DataTable(ds.Tables(0));
this tb(object) is Datatable contain XmlFileData.

Is This Answer Correct ?    6 Yes 1 No

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

Answer / 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

More Dot Net General Interview Questions

can any one tel me hw to connect database connectivity of dot NET and back end as MS access?

1 Answers  


What are the different types of memory in .net?

0 Answers  


What is CLR? How it will work?

3 Answers   NeoSoft,


Why SOAP is required?

0 Answers   Alcatel-Lucent,


What is Method Overriding? How to override a function in C#?

1 Answers  






Explain why do we use msmq?

0 Answers  


What is reflection in microsoft .net context?

0 Answers  


What is the difference between constants and read-only variables?

0 Answers  


Can u any body send the DotNet Interview questions and answers to my mail please....... mindukuru@yahoo.com

1 Answers  


Why MVC programming model preferred?

1 Answers  


What is .net standard?

0 Answers  


Explain the procedure to add assemly to gac to make it shared one?

0 Answers  


Categories