Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Consuming VFP WS from c#
Message
De
05/04/2006 12:48:29
 
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Divers
Thread ID:
01110618
Message ID:
01110683
Vues:
16
Ricardo,

Once you have gotten the XML from your WebService, all you need to do is this:
DataSet ds = new DataSet();
StringReader sr = new StringReader(XML);
ds.ReadXml(sr, XmlReadMode.InferSchema);
~~Bonnie


>>>Hi!
>>>
>>>I need to consume a web service written in VFP from Web C# app.
>>>
>>>The VFP WS returns a RecordSet.
>>>How can I put this info into a DataGrid ?
>>>
>>>I would need some links with examples between VFP and C#.
>>>
>>>This are my first steps with C# and VFP W.S.
>>
>>Do you mean an XML string? If yes, you can create a dataset in your C# appplication and populate it from the XML string received. Then, you can bind that dataset to your datagrid.
>
>Exact. That's what I need.
>Now; Do you have any brief example in C# how implementing it?
>
>Thanks you.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform