How2 display Image from DB in datagrid?

Posted by Saverio Tedeschi on Stack Overflow See other posts from Stack Overflow or by Saverio Tedeschi
Published on 2010-06-06T11:03:06Z Indexed on 2010/06/06 11:12 UTC
Read the original article Hit count: 421

Filed under:
|
|
|

Hope it's not yet been answered, but I've googled for quite a long time, and I've not been able to get it working. In brief, I've a SL4 page with a DataGrid filled accordingly to parameters passed from the previous page, so I fill the context in code, with a "RIA" query (w/parameters as well). So far, so good. I get the XAML declared columns as expected but the Photo templated column, which holds just an image control.

I think I can use the LoadingRow event, but can some1 give me some code on how to get my goal (image is in in the context from DB)? Thanks in advance

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about image