Click here to Skip to main content
15,887,822 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

How to copy sql server 2005 table data to xml. plz give me the suggestion for that.
Posted

Look at this article [^]to start with.
 
Share this answer
 
Comments
Prasad_Kulkarni 19-Jun-12 9:26am    
5'ed
VJ Reddy 20-Jun-12 22:40pm    
Good reference. 5!
Manas Bhardwaj 21-Jun-12 3:15am    
thx!
 
Share this answer
 
v2
Comments
Prasad_Kulkarni 19-Jun-12 9:27am    
My 5!
Mohamed Mitwalli 19-Jun-12 9:37am    
Thanks Prasad :)
VJ Reddy 20-Jun-12 22:40pm    
Good references. 5!
Mohamed Mitwalli 21-Jun-12 0:59am    
Thanks VJ
using dataset you can get xml of this dataset.
example:-
C#
DataSet ds=new DataSet();
// set data to dataset then get xml from below method
string str= ds.GetXml();
 
Share this answer
 

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