0

When i'm using this following code i got this error:

The parameter IS NOT valid.

This is the code:

Using ms As New MemoryStream(CType(DataGridView1.SelectedRows(0).Cells(6).Value, Byte()))
        info.PictureBox1.Image = New Bitmap(ms)
    End Using

Im using the access database with ole object.

Razvan Balaci
  • 51
  • 1
  • 10

0 Answers0