Monday, September 2, 2013

Xml Databinding doesn't work on some computers

Use "InnerXml " instead:



Binding binding1 = new Binding("Text", node1, "InnerXml");
this.textBox1.DataBindings.Add(binding1);
Binding binding2 = new Binding("Text", node2, "InnerXml");
this.textBox2.DataBindings.Add(binding2);





Caillen

<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>

Thanks

MSDN Community Support



Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


No comments:

Post a Comment