0

How to query insert images, using a specific path, im using longblob as data type from my database Im currently using this code, but when I will view the image from my database it is null:

 insert into table(pic) values ("C:\arrow.png") ;

And What If I will substitute it to a picturebox, mypicturebox1 highlight as error.

 cmd = new odbc.odbccommand("insert into table(pic) values ('" picturebox1.image'")",con)
Top Out
  • 23
  • 2
  • 7

0 Answers0