Change picture box depending ln specific cell of selected roe in datagridview?

I have a datagridview that shows all records from a table in a database.

What I want to happen is when I select a row. It looks at a specific cell within that row for for example it says “bike” then the picture box should change to a picture of a bike

So roughly

If datagridview.selectedrow.cell(3) = “bike” Picbox = (“bike.jpg)

Or something like that I’m not sure what to put or where to put the code

Any help would be appreciated thanks

submitted by /u/PsychedelicPistachio
[link] [comments]

Leave a Reply