Click here to Skip to main content
15,891,372 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I have a small project in VS2010. With my RDLC Report, I am using Image Control, and I wish to change the Image during runtime...Is it possible?

The following manner I tried but not succeeded...

C#
=IIf(First(Fields!company_name.Value, "DataSet1").ToString().Trim().StartsWith("C.N"), Logo_CNV,Logo_Palani)


Thanks for the helps
Posted
Comments
BulletVictim 4-Aug-14 4:41am    
Have you tried using it as follows?
=IIf(First(Fields!company_name.Value, "DataSet1").ToString().Trim().Contains("C.N"), Logo_CNV,Logo_Palani)

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