about DataSet

T

Tony Johansson

Hello!

I'm just wonder what it means when a DataSet controller is using XML to
represent data which is stored locally ?
Assume you execute a sql statement with a select statement which cause the
DataSet to be loaded with the selected data.
So these selected data is now stored local in memory.

Does it mean that XML just describe the data that is stored local in memory
?

//Tony
 
C

Cor Ligthert[MVP]

Tony,

XML is just a set of rules how to describe data.

XML is never in memory, however in an XSD file (which is written with the
XML rules) a DataSet can be described and even can from that description
classes be build. The same is for the data which is in memory, a DataSet can
be serialized in a kind of standard way, even with DataSet.WriteXml without
you call first the XMLstream for that or any other nead to serialize.

However in memory there is in no way XML (or that should be in a string but
then it is just a data like "Tony Johansson")

Cor
 

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