c# DataSet with depth more than three

sappygolucky

New Member
I want to use an xml-file for storing my program data. The structure of the xml looks like this:\[code\]<?xml version="1.0" standalone="yes"?><Data> <Projects> <Project> <Name>Name1</Name> <Description>Description1</Description> </Project> <Project> <Name>Name2</Name> <Description>Description2</Description> </Project> </Projects></Data>\[/code\]I want to use a \[code\]DataSet\[/code\] since it offers the easy reading and writing of xml structures. But the question is, how to read and write the values of the \[code\]<Project>\[/code\]-Nodes? I can access the \[code\]<Projects>\[/code\]-Node, but then i don't know how to continue, since the single Projects aren't tables i guess. So, how can i access the nodes in the depth three (Data->Projects->Project)? I think this must work somehow, since reading the file and outputting it on the console does work.
 
Back
Top