C# Append in XML file from recursive function

joylen

New Member
I am trying to create an XML file containing Folder and files description.I browse the folder content with a recursive method and I would like to append datas at each call.Here is the code I use :\[code\] DataSet ds = new DataSet("Folders"); ds.Tables.Add(Folder); ds.Tables.Add(Files); ds.WriteXml(AppDomain.CurrentDomain.BaseDirectory + "\\FolderList.xml");\[/code\]Could you please tell me how to proceed to add at each function call datas at the bottom of the xml file ?Thanks in advance.
 
Back
Top