Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Editing a Record
Message
From
21/03/2005 20:47:45
 
 
To
21/03/2005 19:49:29
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00997113
Message ID:
00997991
Views:
12
Martin,

Write out a DataSet (that has data in it) to an .XML file and take a look at it (basically just use the WriteXML() method of a DataSet). The DataSet and DataTable part of the XML don't really take up all that much space. It's mainly the data that takes up most of the file.

And, DataSets are easier to serialize/deserialize to XML (built in methods of the DataSet class, DataTable class doesn't have that).

~~Bonnie


>Bonnie,
>
>You can count on that. However, I was just wondering about something. Isn't data tables lighter than data sets? And data rows are definitely smaller than data tables. Right? Why is it that data sets are commonly used for transfering data to and from a web service? Aside for the fact that it has more functionality than the others.
>
>Martin
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform