How to fill XMlDocument from SQL Select for XML AUTO using XmlReader ?

T

terrorix

Hi,

I Have this sql select(MS SQL):

select a.ID,
b.ID
from Table as a

left outer
join table AS b
on a.ID = b.Parent_ID

where a.Parent_ID is null

order
by a.ID
, b.ID

for xml auto, xmldata


How i can fill an XmlDocument object with this SQL select using XmlReader, SqlCommand ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top