Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dataset or XML
Message
De
13/10/2003 11:42:40
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00837727
Message ID:
00838140
Vues:
24
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform