Home All Groups Group Topic Archive Search About
Author
14 Mar 2006 10:17 PM
Scott Emick
When I do a writexml to a file with my dataset which has a heirarchical
schema, it puts the headers and details seperate. According  to the schema,
the details should be nested within the header xml. Is there any easy way to
make this happen?

Thanks

--
Scott Emick
Web Programmer
Fox International
Remove the ham from mail address if it's not spam

Author
14 Mar 2006 10:38 PM
Scott Emick
The answer is to use an XMLDataDocument.


Show quoteHide quote
"Scott Emick" <sem***@ham.fox-international.com> wrote in message
news:O9dU8T7RGHA.1576@tk2msftngp13.phx.gbl...
> When I do a writexml to a file with my dataset which has a heirarchical
> schema, it puts the headers and details seperate. According  to the
> schema, the details should be nested within the header xml. Is there any
> easy way to make this happen?
>
> Thanks
>
> --
> Scott Emick
> Web Programmer
> Fox International
> Remove the ham from mail address if it's not spam
>
Author
15 Mar 2006 6:21 AM
Cor Ligthert [MVP]
Scott,

In my opinion is it the "nested" property.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconnesteddatarelations.asp

I hope this helps,

Cor


Show quoteHide quote
"Scott Emick" <sem***@ham.fox-international.com> schreef in bericht
news:%239gK9f7RGHA.2536@tk2msftngp13.phx.gbl...
> The answer is to use an XMLDataDocument.
>
>
> "Scott Emick" <sem***@ham.fox-international.com> wrote in message
> news:O9dU8T7RGHA.1576@tk2msftngp13.phx.gbl...
>> When I do a writexml to a file with my dataset which has a heirarchical
>> schema, it puts the headers and details seperate. According  to the
>> schema, the details should be nested within the header xml. Is there any
>> easy way to make this happen?
>>
>> Thanks
>>
>> --
>> Scott Emick
>> Web Programmer
>> Fox International
>> Remove the ham from mail address if it's not spam
>>
>
>