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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a strong name in .net?

579


Difference between user groups and code groups

1876


How to create multiple inheritance in c#, with example?

543


What is garbage collection and how it works ?

575


How to load a user control dynamically in runtime?

534






what is the default security setting in .net?

525


Explain can the validation be done in the server side? Or this can be done only in the client side?

498


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

563


How can you instantiate a tuple?

538


What are the new features of Framework 1.1 ?

3790


What's the .net collection class that allows an element to be accessed using a unique key?

557


Difference between value type & reference types ?

583


Explain me what is encapsulation?

538


What does jit compilation do in .net?

565


What makes .net core cross platform?

512