Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Convert String to XML and bind to WPF ListBox.

$
0
0

Hi EveryOne

I need to convert a string to XML and bind it to ListBox. How can I do it?

string msg = "<Person><FName>Murali</FName><LName>Kumar</LName><FName>Ashok</FName><LName>Kumar</LName></Person>";

I want to Convert this string "msg" to a collection or an object or anything which I can bind to a control. I donot want to create any external files and reference that file.

Thanks in advance

Murali Mahendra Banala


Murali Mahendra Banala


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>