471,350 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

about DataSet

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
Jun 27 '08 #1
1 839
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

"Tony Johansson" <jo*****************@telia.comschreef in bericht
news:Ot*****************@newsb.telia.net...
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
Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by lawrence | last post: by
2 posts views Thread by Tom | last post: by
2 posts views Thread by Bill Yeager | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.