I have a programatic table in vb, I want to have and image button that reads a folder.
What will happen is when the same is found in the database and matches the same name in the folder the image will show up.
I just need the correct synatx.
How can I match the images in my folder with the image name in the database to show up in my table.
Dim mypath = Server.MapPath("image/imagefolder")
Do While sqlDR.Read
r = New TableRow ' << place here start new row
c = New TableCell ' << place here start new table cell
cnt = cnt + 1
img = New ImageButton
img.Width = "80"
img.ID = "myNewimage" + cnt.ToString()