http://www.kirupa.com/net/reading_xml_directly_pg1.htm
http://www.developer.com/net/csharp/article.php/3489611/Manipulate-XML-File-Data-Using-C.htm
http://support.microsoft.com/kb/307548To Read a XML file:
XmlDocument doc = new XmlDocument();
doc.Load("D:\\Dotnet Projects\\final\\ClientAppl\\Header.xml");
XmlNodeList bookList = doc.GetElementsByTagName("Header");
foreach (XmlNode node in bookList)
{
XmlElement bookElement = (XmlElement)node;
string title = bookElement.InnerText;
lblHeader.Text = title;
}
No comments:
Post a Comment