I have a sql server 2005 database which contains a user table.. Is it possible to create xml file from the user table? It contains columns like name,age,emailId,mob no etc.. Any suggestion?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This article may well help you..
http://jacquesbron.com/blog/database/linq-to-sql-and-linq-to-xml-in-action-from-database-to-xml/
I would use Entity Framework or Linq to SQL to get the data out of the database, then use linq to xml to create the desired xml output.