Displaying images from Access to asp.net pages ... uffffffffffffffffff

Eduardo Arias

Eduardo Arias

Feb 5 2008 8:18 AM

Hello again,

I have a web site that is linked to a MS access db. This database has one field where I'm trying to link an image to the image folder (If someone knows a better way it would great to hear it). Now, I've no idea how to load the image to the asp.net page. I have created the connection and I have placed a data grid as the vehicle to show my image. Well, I just don't know if what I'm doing in the databse is right, so I can't tell if what I'm doing in Visual Studio is correct or not. The only thing I can tell you is that when I run the page, the image is not there!

So, I would like to load the images from the database into an object in the asp.net page. If someone could give me a hand understanding this concept and to show me an example on how to do this, I would be greatly in debt.

Thank you,


PS: In MS Access I'm using a hyperlink as the data type of the picture field. I tried to use an Object but it did not work.