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

Explain how to call the sql commands asynchronously in ado.net version 2.0?

0 Answers  


Explain ado.net features?

0 Answers  


Which method is used by command class to execute SQL statements that return single value?

0 Answers  


How do we invoke queries from the application

2 Answers  


How do you merge 2 datasets into the third dataset in a simple manner?

0 Answers  






Explain how can we load multiple tables in to dataset?

0 Answers  


Explain why edit is not possible in repeater?

0 Answers  


How do you update a dataset in ado.net?

0 Answers  


What is the use of ADO.NET and XML web services?

0 Answers   TCS,


What is the default view of Data Grid?

5 Answers   TCS,


How to retrieve the third table value from the data set?

2 Answers   Network Solutions,


How to read data with the sqldatareader ?

0 Answers  


Categories