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
Login failed for user ''. The user is not associated with a trusted SQL Server connection.
DataGrid Click Event
confused by SQL query
Snort configuration problem cannot open rules file
add "draft" watermark to a Powerpoint 2007 presentation
Change SQL database Authorization from MIXED MODE to User Name and Password
How do I combine the results of two stored procedures into one dataset?
Native 64-bit application
Cannot install RX library
How to schedule backup jobs in SQL Server 2005 Express