Use the XSD.EXE command line tool that is included with the Microsoft
..NET SDK (or VS.NET) to create typed datasets from an XSD file.
If you only have XML as a source, you can use the VS.NET designer. Open
the XML file, right-click and choose "Create Schema". Open the newly
created schema (.XSD) file, right-click and choose "Generate DataSet".
Giedrius wrote:
I would like to create a typed dataset, from which I could create such
xml document using WriteXML method.
Is it possible?
...........
<Fields Count=34>
<Field Name="name1">value1</Field>
<Field Name="name2">value2</Field>
...
</Fields>
.................