Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Avoiding to create file to convert XML to DataSet
Message
From
22/08/2010 20:17:35
 
 
To
22/08/2010 15:39:19
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:
01477843
Views:
43
>I was not aware there was an overload on that method.

For some reason, that overload has never showed up in Intellisense. Also, I typically use XmlReadMode.InferSchema rather than IgnoreSchema.

~~Bonnie




>>Read XML from a string to DataSet VB sample
>>
>>
>>Dim xmlData As String = "<XmlDS><table1><col1>Value1</col1></table1><table1><col1>Value2</col1></table1></XmlDS>"
>>
>>Dim xmlSR As System.IO.StringReader = New System.IO.StringReader(xmlData)
>>
>>myDS.ReadXml(xmlSR, XmlReadMode.IgnoreSchema)
>
>I was not aware there was an overload on that method.
>
>Thanks
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