M_PIC.Image = TRN_LIB.ConvertBinaryToImage((byte[])tbl1.Rows[0]["M_IMG"]); !! M_PIC it's the pictureBox public Image ConvertBinaryToImage(byte[] data) { using (MemoryStream ms = new MemoryStream(data)) { return Image.FromStream(ms); } } to save public byte[] ConverImageToBinary(Image img) { using (MemoryStream ms = new MemoryStream()) { img.Save(ms, ImageFormat.Jpeg); return ms.ToArray(); } } the column on mssql 2019 express it's image type if try more than one sluoson but, i have the error
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)