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

What are the different row versions available in table?

529


What is datatable in ado.net?

521


What is sqldatasource?

523


How does ado.net work?

494


What is sql connection in ado.net?

498






What is sqldatareader in ado.net?

503


What is the advantage of ado.net?

545


What are the major difference between classic ADO and ADO.NET?

520


How to check if a datareader is closed or opened? IsClosed()

586


What is meant by executenonquery?

529


What are the advantages of using datalist?

509


What is microsoft ole db provider for sql server?

479


How to Read, Add, Update and Delete record in Entity Framework ?

564


Which name space is used to get assembly details?

525


Which components of a data provider is used to retrieve, insert, delete, or modify data in a data source?

619