PC Review Forums Newsgroups Microsoft DotNet Microsoft VB .NET dataset xml question

Reply

dataset xml question

 
Thread Tools Rate Thread
Old 14-03-2006, 10:17 PM   #1
Scott Emick
Guest
 
Posts: n/a
Default dataset xml question


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


  Reply With Quote
Old 14-03-2006, 10:38 PM   #2
Scott Emick
Guest
 
Posts: n/a
Default Re: dataset xml question

The answer is to use an XMLDataDocument.


"Scott Emick" <semick@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
>



  Reply With Quote
Old 15-03-2006, 06:21 AM   #3
Cor Ligthert [MVP]
Guest
 
Posts: n/a
Default Re: dataset xml question

Scott,

In my opinion is it the "nested" property.

http://msdn.microsoft.com/library/d...tarelations.asp

I hope this helps,

Cor


"Scott Emick" <semick@ham.fox-international.com> schreef in bericht
news:%239gK9f7RGHA.2536@tk2msftngp13.phx.gbl...
> The answer is to use an XMLDataDocument.
>
>
> "Scott Emick" <semick@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
>>

>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off