Binding a collection in silverlight
- by Titan
For example,
I have a collection of integers 1 - 10.
I want to dynamically display 4 (can be 5, 6, 7) columns in the datagrid in silverlight.
How can I bind the collection to the datagrid to achieve the following?
C1 C2 C3 C4
R1 1 2 3 4
R2 5 6 7 8
R3 9 10
Cheers