How to bind data in silverlight? In case I don't know which columns would be retrieved from database

Posted by kwon on Stack Overflow See other posts from Stack Overflow or by kwon
Published on 2010-06-18T07:00:53Z Indexed on 2010/06/18 7:33 UTC
Read the original article Hit count: 196

Filed under:

I am trying to bind data from database to datagrid in silverlight. When I get typed data from DB, it is no problem since I use List<'EntityObject'> collection object for example.

However, sometimes I need data which I won't be able to know how many and what columns will be generated in design time. In this case, I cannot use typed collection like List<'EntityObject'>.

In addition, it is not able to use DataSet in silverlight.

So, in this case and situation, how to solve this kind of problem?

Thanks in advance Kwon

© Stack Overflow or respective owner

Related posts about silverlight-4.0