Problem in storing and retriveing images using dataset from sqlser

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
While stoing an image in table,there is no error.But while retriving it and
loading in to a picturebox i got an error----- Specified cast is not valid.

I wrote the code as
PictureBox1.Image = CType(ds.Item(0).Item(3), Image)

Can any body help me?
 
Back
Top