Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Avoiding to create file to convert XML to DataSet
Message
De
23/08/2010 12:46:36
 
 
À
23/08/2010 10:21:23
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01477799
Message ID:
01477965
Vues:
37
>What do you mean? It doesn't need a file to be created on disk. Do you mean persisting the DataSet? Then you would need to use WriteXml(). For example:
>
>
string s = @" ... XML here ...";
>DataSet ds = new DataSet();
>ds.ReadXml(new StringReader(s));
If you intellisense it, you will see that it only shows the parameter as a file name. However, there is an overload in that method. Using it resolves the issue.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform