2
Reply

how to parse an object to a lable

Enos

Enos

Mar 5 2015 8:13 AM
494
Am trying to update my label so that when the user click new button it must get the xmlnode and update the number to a string. how can i do that


int updateversion = 1000;
updateversion++;
XmlNode myNode = root.SelectSingleNode("descendant::resheader[@name = 'version']/value");
myNode.InnerText = updateversion.ToString();
lblversion.Text = myNode.ToString();

Answers (2)