How to generate XML from a dataset and vice versa?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are advantages of microsoft-provided data provider classes in ado.net?

786


How do we use stored procedure in ADO.NET and how do we provide parameters to the stored procedures?

792


What is sqldatareader in ado.net?

705


How can you identify whether or not any changes are made to the DataSet object since it was last loaded?

816


How can we load multiple tables in to dataset?

821


How does ado.net work?

694


What is fill method in ado.net?

737


What is ado.net and its features?

755


What is concurrency? How will you avoid concurrency when dealing with dataset? (One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid the problem?)

795


What are the advantages using ado.net?

765


What is difference between ado and other data object?

695


Define bubbled event?

709


Describe ado.net object model in detail.

775


Is it possible to load multiple tables in a Dataset?

773


How will you differentiate between ADO (ActiveX Data Object) and RDO (Remote Data Objects)?

806