Rajnish Jangid

Rajnish Jangid

  • 1.3k
  • 426
  • 867

Howto get Data Fro DataBase For Change The Image Storage

Sep 25 2017 6:20 AM
public Image byteArrayToImage(byte[] byteArrayIn)        
{ 
             System.Drawing.ImageConverter converter = new System.Drawing.ImageConverter();           
 Image img = (Image)converter.ConvertFrom(byteArrayIn);           
 pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage;           
 return img;        }