Binding a collection in silverlight

Posted by Titan on Stack Overflow See other posts from Stack Overflow or by Titan
Published on 2010-06-15T05:17:16Z Indexed on 2010/06/15 5:22 UTC
Read the original article Hit count: 206

Filed under:
|
|
|
|

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

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET