By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,683 Members | 1,069 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,683 IT Pros & Developers. It's quick & easy.

How to Convert Sql Server database table to xml file

P: 3
Hi,
This is Phani. I am a software developer on ASP.Net. I want to convert database table to xml file in hierarchial format. id (Primary Key) of the table should be attribute of the table Name tag.
For Example.
System is a database table. The XML File must be following.

<Systems>
<System id=1>
<Name>Respiratory System</Name>
..
..
</System>
<System id=2>
<Name>Eyes</Name>
..
..
</System>
<System id=3>
<Name>Cardiovescular System</Name>
..
..
</System>
...
..
</Systems>

Please help Me.
Jul 21 '07 #1
Share this Question
Share on Google+
1 Reply


shweta123
Expert 100+
P: 692
Hi ,

Can you please refer this ,Link

Or

This
Jul 21 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.