تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
حل مشكلة A generic error occurred in GDI+.
#1
السلام عليكم
عند حفظ صورة في بكتشر في الداتا تظهر هذه الرسالة
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
الرد }}}
تم الشكر بواسطة:


الردود في هذا الموضوع
حل مشكلة A generic error occurred in GDI+. - بواسطة samira20 - 16-12-19, 09:58 AM


التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم