C# code for Reading the XML file content
Indroduction
Now I will explain how to Read the XML file content in c#
. use
the below code
using
System.Xml;
XmlDocument doc = new
XmlDocument();
doc.Load("C:/Config/Connection.xml")
XmlNodeList
nodeList1 = doc.ChildNodes;
string
connection = nodeList1.Item(1).InnerText.ToString();
I hope this will helpful for you!Thanks.
No comments:
Post a Comment