Click here to Skip to main content
15,916,463 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can we set path in our system in StreamWriter class to export DataSet to an XML file?
Posted
Updated 16-Feb-12 3:30am
v2

1 solution

Please follow the links for solution:-

StreamWriter xmlDoc = new StreamWriter(Server.MapPath("~/FileTest/Testdo.xml"), false);


Export DataSet to XML File[^]

http://www.c-sharpcorner.com/uploadfile/prabhashchandra/export-dataset-data-to-xml-file/[^]

Please don't forget to mark this as your answer if it helps you out.

Thanks
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900