Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with XML schema
Message
De
22/03/2004 00:04:55
 
 
Information générale
Forum:
ASP.NET
Catégorie:
XML
Divers
Thread ID:
00888315
Message ID:
00888414
Vues:
8
>Before generating your XML from the DataSet, be sure to set this in your DataAdapter:
>
>YourDataAdapter.MissingSchemaAction = MissingSchemaAction.AddWithKey
>
I have this:
      loData.Fill(loData, "Temp")

      ' Add the schema
      loData.MissingSchemaAction = MissingSchemaAction.AddWithKey

      ' Get the XML
      lcXML = loData.GetXml()

      Return lcXML
Even with that, the XML received on the client side still doesn't include the schema. It only includes the 3 records from my table.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform