Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFox 7 as ole db provider
Message
De
02/04/2002 20:23:24
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00640099
Message ID:
00640180
Vues:
34
>Then someone showme an example with xml and databinding ...

There are a couple ways to do this, and most of them rely on Internet Explorer specific code. That may or may not be an issue. Regardless, I like the server side versions myself.

>I read about new xml functions in vfp 7 and I'm just wondering how to use it.

Well, one thing you coudl do is write a COM object like this in VFP:
DEFINE CLASS newcom AS Session OLEPUBLIC 
	FUNCTION GetTable(tcTable AS String) AS String 
		LOCAL lcXML
		USE (tcTable)
		CURSORTOXML(JUSTSTEM(tcTable), 'lcXML')
	RETURN lcXML
ENDDEFINE
and then call that from an ASP to get your XML. The ASP page can then use XSLT to create a table from it, or parse the XML manually, ect.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform