Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET SQL
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 2-Jul-13 22:47pm
Comments
Mycroft Holmes at 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)



Advertise | Privacy | Mobile
Web02 | 2.8.1411022.1 | Last Updated 3 Jul 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100