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

What is maximum pool size in ado.net connection string?

0 Answers  


Which one of the objects is a high-level abstraction of the connection and command objects in ado.net?

0 Answers  


Explain the difference in record set and dataset?

0 Answers  


Advantage of ADO.Net?

2 Answers   QualSoft, TCS,


Why do we need ado.net?

0 Answers  






Define isolation?

0 Answers  


What is executequery?

0 Answers  


What is bubbled event?

0 Answers  


Explain how to find the given query is optimised one or not?

0 Answers  


Diff b/w DataReader,Dataset and Data table?

5 Answers   HCL,


Difference between datareader and dataset?

26 Answers   Microsoft, Noel Infotech, Satyam, Value Labs,


What is ado.net connection?

0 Answers  


Categories