NAV retrive picture

ericleungnavericleungnav Member Posts: 11
Hi,
I know in navision, pictures are stored in bmp in sql database.
However, when I use asp.net to retrive the image directly from the database, it cannot be displayed on the page.

Is the image be stored differently as usual? Do anyone had the same problem?

Thanks very much.

Comments

  • garakgarak Member Posts: 3,263
    Check the property "Compressed" on field Pictire in your table.
    BLOB are compressed stored in NAV. so when you extract a compressed file to view it with 3-rd apps, the can't show this file. If you change the property to Compressed = 'No' other apps like ASP.net can display the image.

    But note, evers image you store into the database makes the DB large ....

    Regards
    Do you make it right, it works too!
  • ericleungnavericleungnav Member Posts: 11
    many thanks for your help.
    it's works :D
Sign In or Register to comment.