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 a dynaset in access?

1 Answers  


How to check if a datareader is closed or opened?

1 Answers  


How to create data relations?

1 Answers  


What is ado circle?

1 Answers  


what is bubbled event can u pls explain

3 Answers   Wipro,


What is the difference between connected environment and a disconnected environment?

2 Answers  


Define data adapter?

1 Answers  


What are the advantages of ado.net?

1 Answers  


Which namespaces are used for data access?

1 Answers   SwanSoft Technologies,


What is sqldatareader in ado.net?

1 Answers  


What is sqlconnection and sqlcommand?

1 Answers  


differences between ADO and ADO.NET

1 Answers   Microsoft,


Categories