(03-10-22, 06:43 PM)عبدالله الدوسري كتب :كود :
Using Image As System.Drawing.Image = New Bitmap(Me.PictureBox1.Width, Me.PictureBox1.Height)
Me.PictureBox1.DrawToBitmap(Image, Me.PictureBox1.ClientRectangle)
Image.Save(IO.Path.Combine(My.Computer.FileSystem.SpecialDirectories.Desktop, "NewImageTest.jpg"))
End Using
اشكرك اخى العزيز ولكن كيف اضيف الصورة الى قاعدة بيانات sql server
(03-10-22, 06:43 PM)عبدالله الدوسري كتب :كود :
Using Image As System.Drawing.Image = New Bitmap(Me.PictureBox1.Width, Me.PictureBox1.Height)
Me.PictureBox1.DrawToBitmap(Image, Me.PictureBox1.ClientRectangle)
Image.Save(IO.Path.Combine(My.Computer.FileSystem.SpecialDirectories.Desktop, "NewImageTest.jpg"))
End Using
لقد ارفقت كود الحفظ لدى كيف يمكننى التعديل عليه
