WPF DataGrid without database
-
Colleagues, I would like to populate WPF DataGrid with data that my program generates on the fly and without a database or a file. Could you suggest me how to do it? Tips, hints, references, insight are all appreciated! Cheers, - Nick
-
Colleagues, I would like to populate WPF DataGrid with data that my program generates on the fly and without a database or a file. Could you suggest me how to do it? Tips, hints, references, insight are all appreciated! Cheers, - Nick
Create a business model and populate it into an ObservableCollection. That's the most basic thing I can think of for you. There are plenty of tutorials around that demonstrate how to do this.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.