How to generate XML from a dataset and vice versa?

Answers were Sorted based on User's Feedback



How to generate XML from a dataset and vice versa?..

Answer / vijay

DS.ReadXML reads XML document and writes to Dataset
DS.WriteXML writes XML document from Dataset

Is This Answer Correct ?    4 Yes 1 No

How to generate XML from a dataset and vice versa?..

Answer / spvarma

dataset has read xml and write xml methods.
if datset ds then
ds.readxml(option,filepath)
ds.writexml(option,filepath)

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More ADO.NET Interview Questions

can we execute trigger normally at the desired time?

3 Answers   Microsoft,


Explain how to create dynamic gridview?

0 Answers  


What is acid in ado.net?

0 Answers  


What are the different ado.net namespaces are available in .net?

0 Answers  


i want 2 pass values(enterd in textbox)to table in sql server without using stored procedure in c#.plz tell me code with an example.

5 Answers   Softcon, Tecra,






Explain the difference in record set and dataset?

0 Answers  


Explain the architecture of ado.net?

0 Answers  


How can we add relation between tables in a dataset?

0 Answers  


Explain the difference in an abstract class and an interface?

0 Answers  


How would u connect to database using .NET?

5 Answers   TCS, Tesco,


What is Pooling? what is data pooling? what is sql pooling?

3 Answers   TCS,


Explain the two fundamental objects in ado.net?

0 Answers  


Categories