Antony Alston

Antony Alston

  • NA
  • 2
  • 1.8k

How to Load Image Location Data From DB to PictureBox

Jul 28 2014 2:44 AM
I have sql database where i have image as saved image location
eg:- D:\Local Pictures\Users\XXXX_XXXX_1.jpg
I trying to place it in the picture box using this code (i have posted only partial code)
string filename = (myReader["PROFILE_PICTURE"].ToString());
profilePicBox.ImageLocation = filename;
when i execute this code I am getting small x picture white background in image. Can anyone help me to fix and load the image

Answers (1)