PDA

View Full Version : Image from DB


Omega2
09-29-04, 03:28 AM
Hello you guys and gals

Hoping you can help me with this thing

iv'e got two Data Tables in an access DB with a on to many relation

So the Program (cook book) has got the Dishes and then the ingredients

And the image name is in the main table called dishes

So how do i link the picturebox with a path and only insert the image name from database to display the image and bind the picture box to the dish ?

Like in asp we would say :
<img border="0" src="../../../images/<%=imagename%>" width="200" height="88">

preeti
09-29-04, 04:47 AM
in PHP it will become :
.../images/$imagename width="200"



...

Omega2
09-29-04, 05:16 AM
i know but im struggling with VB.Net

digioz
09-29-04, 07:13 PM
You got to be more specific then this. Are you trying to code a standalone windows application, or an ASP.NET application? A bit more detail would help.