>Oh me... I haven't gotten that far yet. Just getting my data from VFP to SQL Server, to Linq-to-Sql to a WPF ListView has been a long, slow (but fun) journey.
>
>For now, I'm just pulling some queries back just to see something displayed. I may ask for some further info on your comment in a few months when I get a little further along.
>
>Thanks John
>
>
>>One hint on your data sources...
>>
>>If you want a listview or treeview to dynamically update itself use an ObservableCollection for the ItemSource. Unfortunately the collections returned by Linq aren't observable so you have to copy the data over to one. However, I was able to add them to my dbml classes and so far that is working great for me. Once you hook to observable the views pretty much take care of themselves.
NP there is a ton of things to learn, heck I still have a ton of things to learn. I didn't catch this one right off the bat that's why I mentioned it. It's pretty simple though.
public ObservableCollection
dataItems { get ; set; }
You can just fill it with a foreach loop from your linq query.