WPF GridViewColumn Binding RRS feed

  • Question

  • Greetings,

    I need help binding a List of StudentData into WPF GridViewColumns. See code at http://www.4shared.com/file/ZejJF2-J/ComprehensiveProgram.html.

    I created a tabbed WPF form where the first page is data entry. Each time the button is clicked a new StudentData object is added to MyList. This works fine except I can't figure out how to bind the data to the GridViewColumns on the second tab. Line 32 (ReportListView.ItemsSource = MyList();) gets error "The name 'MyList' does not exist in the current context"

    I tried creating a GotFocus event for the Report tab (line 70), but the same error is issued.

    I have searched the web and can find nothing that applies to my particular situation. I hope someone can help me resolve this issue.

    Thanks, in advance.



    Sunday, May 2, 2010 2:49 PM


All replies