Information générale
Catégorie:
Windows Presentation Foundation (WPF)
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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement