Question Display a picture from a Database in a web page.

akaii

New member
Joined
Nov 12, 2008
Messages
1
Programming Experience
Beginner
Hello,

In my database I got infos of the users and a picture of each of them. I would like to display these infos and the picture in the web page.

At this point I can display all infos but not the pictures. I don't know how.

I tried with Response.ContentType = "image/jpeg"
Response.BinaryWrite(myDataReader.Item("UserImage"))
but the result I get looks like the following :
2009-03-09_1142
 
Back
Top