-
October 12th, 2009, 02:49 PM
#1
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, hins, references, insight are all appreciated!
Thanks,
- Nick
-
October 13th, 2009, 03:00 AM
#2
Re: WPF DataGrid without database
You can simply bind it to an object, or a collection of object (the best is ObservableCollection<>), or you can bind it to a dataset which you will fill "on the fly". Usage of datasets is not limited to database.
- Make it run.
- Make it right.
- Make it fast.
Don't hesitate to rate my post.
-
October 17th, 2009, 07:42 PM
#3
Re: WPF DataGrid without database
Thanks! Based on your suggestion I've found this blog entry: http://blogs.msdn.com/scmorris/archi...-datagrid.aspx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|