Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
585
Ultragrid displaying image using EmbeddableImageRenderer
posted

I have a SQL Image column that displays an image using EmbeddableImageRenderer like this:

Infragistics.Win.EmbeddableImageRenderer imgEditor = new Infragistics.Win.EmbeddableImageRenderer();
e.Layout.Bands[0].Columns["Photo"].Editor = imgEditor;

I have some data from another table that is created by someone else that stores the image in SQL Server as nvarchar(max).

The grid errors when binding to the nvarchar(max). How can I get it bind to the nvarchar(max) and display the photo?

Thanks.
Dave

Parents
No Data
Reply Children
No Data