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();
How to parse an object to a lable
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Mar 5, 2015, 12:12 PM EST
Enos128 reputationPosted Mar 7, 2015, 10:06 PM EST