0
XmlDocument myDocument = new XmlDocument(); myDocument.Load(@"C:\XmlFile.xml");
XmlNodeList oNodeList = myDocument.SelectNodes("/Element");
txt0.text = oNodeList[0].innerText;
txt1.text = oNodeList[1].innerText;
.
.
tx[n].text = oNodeList[n].innerText;
or if you want to select node by node then use
selectsinglenode instead of
SelectNodes
and xmlnode instead of xmlnodelist