Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XMLToCursor() And .NET Dataset
Message
From
29/12/2002 19:30:10
Joel Leach
Memorial Business Systems, Inc.
Tennessee, United States
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
00736446
Message ID:
00736464
Views:
11
>I am trying to use create a cursor with an XML created from a Dataset in C#
>
>DataSet ds = MyDataSetCreationMethod();
>return ds.GetXml();
>
>
>In VFP i use XMLToCursor() and the fields are not created with the right data types. I know i should use an XSD but:
>
>1. how do i create an inline XSD in C# from a dataset?
>2. Will VFP XMLToCursor() be able to read it ?
>
>The VFP help file doesn't really help.
>

Hi Stephane,

VFP8 should support this with the new XMLAdapter class. Until then, wwXML from West Wind has a DataSetXMLToCursor() method that is able to import a single data table from the DataSet.
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform