Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Editing a Record
Message
De
21/03/2005 20:47:45
 
 
À
21/03/2005 19:49:29
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
00997113
Message ID:
00997991
Vues:
14
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform