Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with XML schema
Message
From
22/03/2004 00:04:55
 
 
General information
Forum:
ASP.NET
Category:
XML
Miscellaneous
Thread ID:
00888315
Message ID:
00888414
Views:
7
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform