>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 lcXMLEven with that, the XML received on the client side still doesn't include the schema. It only includes the 3 records from my table.