EdB,
For the drag and drop see the samples on MSDN.
Here beneath my complete sample for everything with a Blob about reading and
writing to a Dataset (and with that to an SQL server) avoiding in my idea
some extra processing that is in the samples on MSDN.
http://groups.google.com/groups?selm...TNGP11.phx.gbl
I would use instead of complete images thumbnails for your problem, maybe
you can see the sample snippet bellow as an extention form the code in the
message above,
\\\
Dim arrImage() As Byte = DirectCast(rdr.Item("Photo"), Byte())
Dim ms1 As New System.IO.MemoryStream(arrImage)
Dim origimage As System.drawing.Image =
System.Drawing.Image.FromStream(ms1)
Dim PThumbnail As System.drawing.Image
PThumbnail = origimage.GetThumbnailImage(100, 100, Nothing, New IntPtr)
ms2 As New System.IO.MemoryStream
PThumbnail.Save(ms2, Imaging.ImageFormat.Bmp)
arrImage = ms2.GetBuffer
///
I hope this helps a little bit?
Cor