Click here to Skip to main content
15,900,378 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have Created windows application, in this application i am using RDLC Report as a part. here i am binding images using Image control inside the List control in RDLC Report. The Bindingsource may contain Repeated images or Distinct Images, is it possible to block repeated image in Image Control inside the List. So can any one suggest me how to Bind distinct image in List.

Thanks in Advance

Mohan G
Posted

1 solution

I doubt you can do it automatically through a report expression so I'd do this:

1. I'd get the data from the db through VB or C# code before displaying the report

2. Then, I'd try to "clean" those repeated images. Problem is how do you know that an image is already set to another row??? are your images stored as a file path or URL? or are they stored as binary?
If the first one, then it's simple to determine repetitions; the later i.e. binary images is almost impossible to get.

3. So you clean those repeated images by generating or assigning a blank image file

4. when you got your data source ready, then you re-bind it to your report through code and display it through reportviewer
 
Share this answer
 
Comments
Mohan Gopi 29-Jul-13 4:47am    
Hi Marc, Thanks for your Replay i will try what you suggested.

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