Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Avoiding to create file to convert XML to DataSet
Message
From
23/08/2010 12:46:36
 
 
To
23/08/2010 10:21:23
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01477799
Message ID:
01477965
Views:
36
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform