Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Consuming VFP WS from c#
Message
From
05/04/2006 12:48:29
 
General information
Forum:
ASP.NET
Category:
Web Services
Miscellaneous
Thread ID:
01110618
Message ID:
01110683
Views:
15
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
Previous
Reply
Map
View

Click here to load this message in the networking platform