I have a image field in sqlserver.
When insert row to Database i convert myimage to byte whith this code.
Image img = Image.FromFile("D:\\Test.PNG");
ImageConverter converter = new ImageConverter();
enter.Pic = (byte[])converter.ConvertTo(img, typeof(byte[]));
When i want read this record, i convert byte to image with this cod e:
ImageConverter ic = new ImageConverter();
Image img = (Image)ic.ConvertFrom(enter.Pic);
but when convert byte to image, i get error
Parameter is not valid