Microsoft
Software
Hardware
Network
Question : loading xml data from DB
I have a column in a DB called
XML_room_design (nvarchar(max))
I need to do a select from the code and assign it to this piece of code
XDocument xDoc = XDocument.Load(pathToYourX
ml);
But i'm unsure how to do this
Can someone provide the code to fill in the gap please
thanks
Answer : loading xml data from DB
I think this was from the post I had before, sorry, I should have elaborated more. You can just use XDocument.Parse() to parse a string in.
http://msdn.microsoft.com/
en-us/libr
ary/bb3455
32.aspx
1:
XDocument xDoc = XDocument.Parse(yourObject.XML_room_design);
Random Solutions
Header bigger on Zen Cart template
How to detect if SQL Server 2005 or 2008 is installed
Search through multiple cols
Subnet Ping Issue - Site-to-site VPN
Exchange 2003 / Outlook 2010 - Out Of Office Not Working via Outlook
error message ORA-01691
Format an Access report field for Social Security Number
The Managed Metadata Service or Connection is currently not available
An E-mail from "Nobody"
Removing Quotes From DB Fields