C# WPF fill datagrid or listview from XML file
Posted
by Dave
on Stack Overflow
See other posts from Stack Overflow
or by Dave
Published on 2009-09-05T17:18:41Z
Indexed on
2010/05/17
6:10 UTC
Read the original article
Hit count: 700
I have a well formed XML file I would like to fill a datagrid with. I would prefer using the AutoGenerate feature of WFPToolKit datagrid, but could hard code the columns in.
The trouble I am having is getting the xml file contents into a datagrid. I had it partially working in a listview, but think a datagrid would be more suited for my needs.
Can anyone provide a quick example of how to accomplish this?
Thanks!
© Stack Overflow or respective owner