2
Answers

how to parse an object to a lable

Enos

Enos

9y
511
1
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)