Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any easy way to create an XML table
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00709062
Message ID:
00710125
Views:
12
I'm the Program Manager for the VFP Toolkit for .NET. Kamal Patel (the lead developer) and Rick Hodder (created the help files) did a great job as well as the rest of the team. Not too long ago I posted a message in the VFP Toolkit For .NET category in this forum for feedback for version 2.0. If while using it you have any suggestions for improvements, please post them there.

It works well with any .NET managed language. There is source code available in C# and VB .NET. The help file shows examples in both these languages also. You can just use the help file to look at the .NET code you would write for the equivalent functionality in VFP and just paste the code into your project, or you can use the classes themselves and call the function names. There is a readme.txt file that explains how to call the classes. You can download the toolkit and the source files at:

http://www.gotdotnet.com/team/vfp/


>Hi Cathi,
>
>Do you use the FOXPRO Toolkit? Is it stable? Will it be around and enhanced? I do know a lot of VFP commands. Can use use it with VB .net?
>
>Thanks
>Roland
>==========================================================================
>
>>Hi Joe,
>>
>>If you use the Visual FoxPro Toolkit for .NET, you can use the CursorToXml function, similar to how you call it in VFP. Just pass in a DataSet object and the name of the file you want to write to.
>>
>>
>>CursorToXML(ds, "c:\MyDataSet.xml")
>>
>>
>>>>Hi,
>>>>
>>>>I need to create an XML Table from a Windows Form using an SQL table as the source.
>>>>
>>>>Know very little about XML.
>>>>
>>>>SELECT ClientNum, LastName, FirstName, SignificantOther, Address, City, State, ZipCode, AddressAfterClose, CityAfterClose, StateAfterClose, ZipAfterClose, HomePhone, WorkPhone, WorkPhoneExt, CellPhone, FaxNumber, EmailAddress, Comments, InsertDateTime FROM dbo.Client WHERE (LastName LIKE ?)
>>>>
>>>>How would I create the XML table with the result rows?
>>>>
>>>>Thanks
>>>>Roland
>>>
>>>I tried to hold back but... In VFP7 cursortoxml(lcName, lcRowName, lnIndent, llNoHeader) and its done.
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Reply
Map
View

Click here to load this message in the networking platform