Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I made a dataset which includes the table with its columns.

Then I added report new item. Then I choose the dataset and select the columns and designed it. It also has a image filed which saved in database.

Now when I want to debug it, for the rows which has images in the image column is says #ERROR. So I can't see the pictures in the report. How can I fix it?

Also the dates field shows LongDateTimeString like 5/6/2012 12.00.00 AM all of them have 12.00.00 AM in the report. I just want to show 5/6/2012 in the report nothing else.
btw i'm using Microsoft Reporting

How can I fix these 2 issues?

Thanks in advance
Posted

1 solution

You missed to mention it is SSRS. Now,

the image column is says #ERROR
This simply means that the column type defined for the image is not configured correctly to show an image. Look here for details on how to do it:
MSDN: How to: Add an Image (Reporting Services)[^]
Display Database Image in SSRS from Northwind demo database.[^]

I just want to show 5/6/2012 in the report
Try:
VB
=Format(Fields!MyDate.Value, "MM/dd/yyyy")

Quick detail here: Working with Dates in Reporting Services[^]
 
Share this answer
 
Comments
aliprogrammer 6-May-12 5:11am    
Thanks.
Sandeep Mewara 6-May-12 5:16am    
Welcome.
Shahin Khorshidnia 6-May-12 6:12am    
+5
Sandeep Mewara 6-May-12 7:22am    
Thanks.
(__Aaron__) 6-May-12 8:28am    
5. Good

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900