DataSet.WriteXml method

P

Phil Townsend

When using the .WriteXml() method of the Dataset object, is there any
way to control how the xml is formatted? In other words, can one specify
whether certain values are written as attributes or as elements? Thanks!
 
V

VJ

No.. not possible with the DataSet object. Typed Datasets.. not sure of
them, if that is what you have, maybe somebody can help!

possible if you define your custom object, then implement a serialization
for it... Great Advantage to control what information can be persisted and
not...

VJ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top