Cannot implicitly convert type 'string' to 'System.Drawing.Image'
Posted: Fri Oct 07, 2011 1:39 am
Hi,
i have a very simple report that contains an image component to show the image from my linq to entities result.
my code is looks like this:
i got below error on "report.ShowWithWpf()" :
and if i remove the image component in my report the problem will be solved but i need it!
please help to solve this, i need this very soon.
Thanks
i have a very simple report that contains an image component to show the image from my linq to entities result.
my code is looks like this:
Code: Select all
report.RegBusinessObject("myData", "myData", Entities.Table1.ToList());
report.ShowWithWpf();
i also got this error even my entities table haven't any row,c:\Users\accountname\AppData\Local\Temp\qzor13nc.0.cs(42,23) : error CS0029: Cannot implicitly convert type 'string' to 'System.Drawing.Image'
and if i remove the image component in my report the problem will be solved but i need it!
please help to solve this, i need this very soon.
Thanks