How to deserialized xml?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<span style="color:#464952; font-family:verdana; font-size:11px; line-height:normal hi all ,<br style="color:#464952; font-family:verdana; font-size:11px; line-height:normal
<span style="color:#464952; font-family:verdana; font-size:11px; line-height:normal i am creating xml file using below code<br style="color:#464952; font-family:verdana; font-size:11px; line-height:normal
<br style="color:#464952; font-family:verdana; font-size:11px; line-height:normal
<div style="color:#464952; font-family:verdana; font-size:11px; line-height:normal
Root = XD.AppendChild(XD.CreateElement("Root"));
<div style="color:#464952; font-family:verdana; font-size:11px; line-height:normal
XmlNode name= Root.AppendChild(XD.CreateElement(" name "));
<div style="color:#464952; font-family:verdana; font-size:11px; line-height:normal
XmlNode UserName = Root.AppendChild(XD.CreateElement("UserName"));
<div style="color:#464952; font-family:verdana; font-size:11px; line-height:normal
Root.AppendChild(Cloud);
<div style="color:#464952; font-family:verdana; font-size:11px; line-height:normal
Root.AppendChild(CloudUserName);
<div style="color:#464952; font-family:verdana; font-size:11px; line-height:normal
//XmlAttribute ChildAtt = Child.Attributes.Append(XD.CreateAttribute("Attribute"));
<div style="color:#464952; font-family:verdana; font-size:11px; line-height:normal
Cloud.InnerText = test.ServiceName;
<div style="color:#464952; font-family:verdana; font-size:11px; line-height:normal
CloudUserName.InnerText = test.UserName;
<div style="color:#464952; font-family:verdana; font-size:11px; line-height:normal
CloudKey.InnerText = test.Password;
<div style="color:#464952; font-family:verdana; font-size:11px; line-height:normal
XD.Save(appStartPath);<br/>
<br/>
now how to do deserialization of this data?

View the full article
 
Back
Top