Click here to Skip to main content
15,886,693 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
declare @x as xml;
set @x=(select * from table for xml path('childs'),root('parent))
select @x

how we use ouput of this querry at aspx.cs page.
how to store output of this querry into string
and how to retrieve that value
Posted
Comments
Mycroft Holmes 3-Jul-13 3:56am    
Yuo must be a sock puppet for this ID http://www.codeproject.com/Answers/614920/how-to-export-xml-data-from-sql-to-xml-file-in-asp?cmt=472479#answer1

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900