hi Everyone.
I have a Database (Access or Sql Database) and in this database I have pictures of Records.
I want to Print all this images in one page. I try to get images from DataGridView Column. But I can Get only certain Record Image. and all image is same.
Code:
For y = 37.43 + 15 To (133.67 * 8) Step 133.67 '10 To 650 Step 150
For x = 6.05 + 15 To (390.75 * 2 + 9.86) Step (390.75 + 9.86) '10 To (832 - 397) Step 419 '20 To 530 Step 350
Dim img As Byte() = CType(DgV.CurrentRow.Cells(17).Value, Byte())
Dim ms As MemoryStream = New MemoryStream(img)
e.Graphics.DrawImage(Image.FromStream(ms), CInt(x + 300), CInt(y + 35), (CInt(PictureBox1.Width / 2.5)), (CInt(PictureBox1.Height / 2.5)))
Next
Next
There are 12 records in Database. how can I get all images and print