Add images dynamically to rdlc file...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Deva Kumar
    New Member
    • Oct 2012
    • 5

    Add images dynamically to rdlc file...

    I'm using C# with VS 2010, and I've created a .rdlc report file with 1 image boxes on it. How do I add images programmaticall y to this report file? Images are generated at runtime.


    Can anyone give me some ideas?

    Thanks in advance....
  • chadirahme
    New Member
    • Mar 2013
    • 1

    #2
    Hi,
    i face this problem and i fix it ;)

    1.you have to convert your image to binary.
    byte[] imgBinary=File. ReadAllBytes(ro otPath + "Uploads\\imgna me.JPG");

    2.add image box to ur report and bind it to this property

    that's all , also no need to set EnableExternalI mages=true..


    hope this help you..

    Comment

    • Deva Kumar
      New Member
      • Oct 2012
      • 5

      #3
      Thank you chadirahme. This helped me a lot.

      Comment

      • meilee
        New Member
        • Mar 2014
        • 1

        #4
        please help

        how to "bind it to this property" ?

        Originally posted by chadirahme
        Hi,
        i face this problem and i fix it ;)

        1.you have to convert your image to binary.
        byte[] imgBinary=File. ReadAllBytes(ro otPath + "Uploads\\imgna me.JPG");

        2.add image box to ur report and bind it to this property

        that's all , also no need to set EnableExternalI mages=true..


        hope this help you..

        Comment

        Working...