How to generate XML from a dataset and vice versa?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

List the 4 common ado.net namespaces?

878


What is the difference between Optimistic and Pessimistic locking?

746


What is an example of ordinal data?

735


What is connection pooling and what is the maximum pool size in ado.net connection string?

720


How is it possible to get 2 tables of data at a time by using data reader?

692


What provider ado.net use by default? Explain the role of data provider in ado.net?

729


What is the difference between ado.net and entity framework?

774


Explain the difference between sqlcommand object and command behavior object?

753


What are the pre-requisites for connection pooling?

737


Is it possible to load multiple tables in a Dataset?

752


If a table contains 20000 records. In a page at each time 100 records to be displayed.

700


What is the full form of ado?

687


Explain the two fundamental objects in ado.net?

682


What are all the classes that are available in System.Data Namespace?

776


What two types of data providers does ADO.NET supply? What determines which one you should use?

740