0

i want to all the values in column "imgPath" to load as picture in image column "img" but this is the error I'm getting.enter image description here

how to fix this?

i have a table like this:

enter image description here

Hemerson
  • 21
  • 1
  • 5
  • Please read [ask] and take the [tour]. We need code and errors as text, not pictures. Your Autos window shows you the problem - `row.Cells("imgPath).Value` is Nothing and you can use `ToString` with `Nothing`. Each row doesnt need its own column either – Ňɏssa Pøngjǣrdenlarp Jul 20 '17 at 16:35
  • oh I'm sorry, well I'm on a rush that's why i thought i can put it up like that. my bad. – Hemerson Jul 20 '17 at 16:35
  • but why my row.cells("imgPath").value is Nothing, but it has value on my database as shown in the second picture. and when i try to load it all first in datagrid view it loads all but when i try to read the image path to put it in image column then it has an error message like that. – Hemerson Jul 20 '17 at 16:40
  • Please read [ask] and take the [tour] – Ňɏssa Pøngjǣrdenlarp Jul 20 '17 at 16:49

0 Answers0