kalu singh rao

kalu singh rao

  • 264
  • 6.4k
  • 106.1k

How to get Xml data in Xml file from Databse in c#

Jun 25 2014 7:53 AM
I am working on xml. And i have xml file that data is save in database. But I again want to write xml data in xml files using c#. I tried all method \s for write xml data in xml files but all is not working. How can i do ? Please tell me asap.
this is xml data save in database.
<?xml version="1.0" encoding="utf-8"?>
<LayoutRoot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<RootPanel Orientation="Horizontal">
<LayoutAnchorablePane DockWidth="Auto">
<LayoutAnchorable AutoHideMinWidth="230" AutoHideMinHeight="100" Title="ToolBox" IsSelected="True" ContentId="toolboxstack" LastActivationTimeStamp="06/25/2014 15:30:42" />
</LayoutAnchorablePane>
<LayoutDocumentPane>
<LayoutDocument Title="Designer" IsSelected="True" IsLastFocusedDocument="True" ContentId="MyDesigner" LastActivationTimeStamp="06/25/2014 15:38:55" />
</LayoutDocumentPane>
</RootPanel>
<TopSide />
<RightSide />
<LeftSide />
<BottomSide />
<FloatingWindows />
<Hidden />
</LayoutRoot> 
Again write in another xml file in c#.

Answers (2)