0

I am trying to display the contents of different tables dynamically using scatterview, is there an easy way to do that. Right now I have the results of a query in DatagridView and I want to add it to a ScatterViewItem. I tried directly assigning, however I must be doing something wrong here. Do I need to bind it to the xaml code?

dgv = QueryResult();
svi.Content = dgv.DataSource;
Thousand
  • 6,562
  • 3
  • 38
  • 46
wizgot
  • 338
  • 3
  • 11
  • I am trying to do this using code and not by binding it. Meaning that the datagrid will be dynamic. Any ideas, I currently get a blank datagrid when I try assigning it to the content. – wizgot Oct 17 '12 at 04:41

1 Answers1

0

The answer for this question was already there, my mistake I did not search that well. The last post in : Can I programmatically add a row to a WPF datagrid?

Moderators please flag appropriately.

Thanks

Community
  • 1
  • 1
wizgot
  • 338
  • 3
  • 11