Hi,
I am evaluating the use of NetAdvantage Reporting in a WPF application run locally.
Currently the file path to the image is stored in a field within an SQL Compact database. How do i bind this field to an Image object?
I have tried but the image is only displaying an 'X'. does this mean it cannot find the image?
I have tested the datasource as well as confirmed the image path is correct.
Any help is greatly appreciated.
pfechner
Hi Hector,
sorry, i am receiving the same issue with your sample.
This is what i did.
I also did a test where i renamed the db and then pressed the "Preview" button. I get the exact same error. Could it be that the designer cannot see the database file when previewing?
I will try the sample now.
It definitely has something to do with connecting to sqlcompact as i can get it to work when connecting to SQL Server.
i will report back once i have played with the sample.
thanks for your help.
Attached a simple example that uses the Northwind database using SQL Compact Edition (4.0 in this case, but it should be almost identical in 3.5).
Note that the image data of the Employees table in the Northwind database has an OLE header, which would cause the employee photo not to be displayed. If you want to display such images, you would need to use an Object Data Source and manually remove such header. One does not need to do so for normal images.
I will do that, however, do you get a window like the following when you create the connection?
EDIT: Try rebuilding, closing and reopening the report, just in case.
Are you able to do a very simple example pulling data from the northwind database?