Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with XML schema
Message
 
 
À
21/03/2004 15:13:27
Information générale
Forum:
ASP.NET
Catégorie:
XML
Divers
Thread ID:
00888315
Message ID:
00888402
Vues:
10
Hi, Michel.

>However, as I don't have the schema, a lot of fields are not appended ok into my local table. So, I see there is a VB.NET method for the DataSet known as GetXMLSchema(). How would I go to include the schema into my XML so when I do the XMLTOCURSOR() in VFP that everything would be ok?

Before generating your XML from the DataSet, be sure to set this in your DataAdapter:
YourDataAdapter.MissingSchemaAction = MissingSchemaAction.AddWithKey
This will make the trick.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform