Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADO Error
Message
De
13/03/2009 13:29:29
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
13/03/2009 13:12:25
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Divers
Thread ID:
01387229
Message ID:
01387813
Vues:
45
>>Out of curiousity, how do you transform your DataSet to XML? I'm assuming you're using the method that transforms the data itself to XML (can't think of the method name off the top of my head) but is it possible to serialize the DataSet itself to XML and pass that to keep the rowstate and other properties of the DataSet? Purely an academic question - I'm sure your method works well.
>
>Yes, we just use the DataSet.GetXml() method to get the XML for only the data.
>
>If you pass the DataSet itself through a Web Service, it automatically serializes, but that's where you get into having a lot of extra stuff passed over the wire, because you get all the extra stuff that is in that DataSet (and I think Typed DataSets would have a lot more extra stuff).
>
>Plus, if you pass the actual DataSet rather than just the XML for the data, you now have made your Web Service incompatible with any other platform than .NET, since only .NET would be able to consume a type of DataSet. Don't have to worry about that if you simply return the data as XML.
>
>~~Bonnie

Make sense. How do you tell what needs to happen to what row after it comes back through?
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform