How to load image from SQL Server into picture box?

前端 未结 4 1086

I\'ve tried a lot to find that how can I load an image from SQL Server to picture box but I couldn\'t find very much helpful material.

First I saved image into the d

4条回答
  •  抹茶落季
    2020-12-01 19:23

    See Muhammad, what we do when dealing with Images in dynamic scenarios is the following:

    1. Upload the image to some web application directory (like /images/ or something)

    2. We store the URL address in the database field of the table.

    3. Place where you want to include the image, just set the image source to the database field and it will be displayed.

    Hope this helps

提交回复
热议问题