Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to manipulate dataset from .NET
Message
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
00802688
Message ID:
00802698
Views:
37
Here's a small example in VFP8. oDS is the variable containing the return value from your web service. This example also assumes one table in the result set, but you could easily set it up to loop through the Tables collection, calling ToCursor on each item.
* Convert ADO.Net dataset to a cursor
oXMLAdapter = CREATEOBJECT("XMLAdapter")
oXMLAdapter.Attach(oDS.item[1], oDS.item[0]) && node 0 is the schema
oXMLAdapter.Tables.Item(1).ToCursor(.F., "ResultCursor")
>Hi,
>How could I manipulate/display dataset returned from .NET Webservice in VFP?
>
>Thank you
Ryan Katri
COB System Designs, Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform