16-12-19, 09:58 AM
السلام عليكم
عند حفظ صورة في بكتشر في الداتا تظهر هذه الرسالة
A generic error occurred in GDI+.
عند حفظ صورة في بكتشر في الداتا تظهر هذه الرسالة
A generic error occurred in GDI+.
كود :
Dim arrImage() As Byte
Dim mstream As New System.IO.MemoryStream()
PictureBox2.Image.Save(mstream, System.Drawing.Imaging.ImageFormat.Png)
arrImage = mstream.GetBuffer()
Dim FileSize As UInt32
FileSize = mstream.Length
mstream.Close()
cmd..Parameters.AddWithValue("@imgh", arrImage)
اللهم لا علم لنا إلا ما علمتنا
http://www.facebook.com/samira.abdalla.980
http://www.facebook.com/samira.abdalla.980