Dynamically appending text to XML with C#
I w开发者_运维问答ant to generate the XML as shown below.
I generated the elements of it, but now I am struggling to append the text dynamically to it.
Can any one help me to do as shown above.
Thanks.
If I understood your problem right, this will help:
XmlElement node = doc.CreateElement("H_SENDER");
node.InnerText = "BROYHILL ONLINE";
精彩评论