Hello.

I am using the following to read an xml file which contains COMPLEX TYPES.

DataSet dataset = new DataSet();

dataset.ReadXml(docPath_, XmlReadMode.InferSchema);

document_ = new XmlDataDocument(dataset);

The DataSet contains one parent table and individual child tables for each
complex type present in the file which is as expected.  HOWEVER, the child
tables do contain a primary key as they should, but the key columns do not
contain any data.  Does anyone know why? I've got to have these primary keys
to be able to put the xml file back together when I update it and write to
the file........

thanks!

Mike

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to