Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dataset or XML
Message
From
13/10/2003 11:42:40
 
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00837727
Message ID:
00838140
Views:
22
>This is what i use in C# to convert XML Returned from VFP into a C# dataset
>
>System.Xml.XmlTextReader textReader = new System.Xml.XmlTextReader("http://yoururl");
>DataSet hodataset = new DataSet("yourtablename");
>hodataset.ReadXml(textReader);

Thanks, I finally adapted it to:
Public Function ImportXML2(ByVal tcXML As String)
   Dim lcString As New StringReader(tcXML)
   Dim loData As New DataSet
   loData.ReadXml(lcString)
   Return loData
End Function
and it works.
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