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
Firefox won't load the URL
Automatic Email Sending
Gridview label text changing from dataset population
CREATE CLASS IN C#
MySQL Query Where Not Exists
HP printer won't print, Dell printer will - This is after being attacked by TDSS
Windows XP 64 bit fileserver and 32 bit client - any implications?
HTML site appearing full width in IE, not in other browsers, how to reduce size - center
How to find focused control in Silverlight
Hardware Compatibility SATA SSD HDD