10-05-17, 01:31 AM
يا شباب عندي صورة احفظها من picturebox الى dataset
ويتم الحفظ بشكل طبيعي ولكن عندما اغير الصورة يظهر لي الخطاء الطاهر في الصورة المرفقة
على فكرة يظهر نفس الخطاء عندما احفظ الى sql server database
ويتم الحفظ بشكل طبيعي ولكن عندما اغير الصورة يظهر لي الخطاء الطاهر في الصورة المرفقة
على فكرة يظهر نفس الخطاء عندما احفظ الى sql server database
PHP كود :
Dim ms As New MemoryStream
Dim pic As New PictureBox
pic.Image = PictureBox1.Image
pic.Image.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg)
Dim byt() As Byte = ms.ToArray
ds1.ventefact.Clear()
ds1.ventefact.Rows.Add(byt, Label18.Text, nom_client1, adresse1, tel1, tva, Label6.Text, Label10.Text, DateTimePicker1.Value.Date)

