How2 display Image from DB in datagrid?
- by Saverio Tedeschi
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