B
babybob
Hello
Can someone help an ado.net newbie.
I have and xmldoc something like this
<response>
<command ref="command1">
<row>
<rowcol1>somecontent</rowcol1>
<rowcol2>somecontent</rowcol2>
</row
<row>
<rowcol1>somecontent</rowcol1>
<rowcol2>somecontent</rowcol2>
</row>
</command>
<command ref="command2">
<row>
<rowcol1>somecontent</rowcol1>
<rowcol2>somecontent</rowcol2>
</row>
<row>
<rowcol1>somecontent</rowcol1>
<rowcol2>somecontent</rowcol2>
</row>
</command>
</response>
When I read this into a dataset its seems to merge all the <row>
's into one table. I was expecting them to be in two tables one for
each command. How do I achieve this, do i use a schema?
Thanks for any advice
Brian
Can someone help an ado.net newbie.
I have and xmldoc something like this
<response>
<command ref="command1">
<row>
<rowcol1>somecontent</rowcol1>
<rowcol2>somecontent</rowcol2>
</row
<row>
<rowcol1>somecontent</rowcol1>
<rowcol2>somecontent</rowcol2>
</row>
</command>
<command ref="command2">
<row>
<rowcol1>somecontent</rowcol1>
<rowcol2>somecontent</rowcol2>
</row>
<row>
<rowcol1>somecontent</rowcol1>
<rowcol2>somecontent</rowcol2>
</row>
</command>
</response>
When I read this into a dataset its seems to merge all the <row>
's into one table. I was expecting them to be in two tables one for
each command. How do I achieve this, do i use a schema?
Thanks for any advice
Brian