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
Need help inserting a pdf into the body of a email in outlook 2003
MySQL Query
Batch File Script Issue
Excel VBA - append ID for each row to results
Excel - Trying to move the contents of 2 columns into 1 cell with some formatting.
Zen cart NavMainLink color change
Cannot delete inactive datastore and other issues
Autotext in word 2007
Mac OS 10.4.10 into Intel Core2Duo Desktop PC
Best free / low-cost Syslog server for Windows?