WPF DataGrid without database
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: WPF DataGrid without database

  1. #1

    Question WPF DataGrid without database


    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!

    - Nick

  2. #2
    Join Date
    Mar 2004
    Prague, Czech Republic, EU

    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.

  3. #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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


HTML5 Development Center