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

How to identify the controls which can be used for binding data?

551


How to generate a single aggregate?

542


What is read only and forward only in ado.net?

519


Does dapper use ado.net?

598


Compare Data Reader & Dataset in ado.net?

548






Explain the difference between ado and ado.net?

507


What is meant by ‘transaction’ in a database and what are the ‘properties of transaction’?

533


What are the Data providers in ADO.Net?

555


What is the provider being used to access oracle database?

503


What is the difference between ado.net and oledb?

483


How can we load multiple tables in a dataset?

535


What is ole data type?

508


What are the different ado.net namespaces?

625


Which property is used to check whether a DataReader is closed or opened?

570


What is openrowset?

497