HELP ABOUT THIS ERROR PARAMETER IS NOT VALID

  • Thread starter Thread starter clynnekent
  • Start date Start date
C

clynnekent

Guest
I tried to search using my program created so i got a error parameter is not valid. the problem is in the default image. Other image its work fine,so anyone can help me how to convert the image to Byte? I'm using VB 2010


Here is the code:

cmd.Parameters.AddWithValue("@Photo_image", PictureBox1.Image)

That PictureBox1.Image I want to convert it to byte. since the other image its a bite file in my database.


Thanks in advance..

clynnekent

Continue reading...
 
Back
Top