I am using a sql database and storing images on there.
Logos
Logo_ID | Logo data
I appear to be able to upload as the column is showing <Binary data>
My problem is I am not able to view the images.
If I wanted to view them in a list, I would have expected something like this?
Can anyone help?
Thanks.
Logos
Logo_ID | Logo data
I appear to be able to upload as the column is showing <Binary data>
My problem is I am not able to view the images.
If I wanted to view them in a list, I would have expected something like this?
Code:
<%
sql = "SELECT * FROM Logos ORDER BY [Logo_ID] ASC;"
Set rs = obj_CN.Execute(sql)
While Not rs.EOF
Response.ContentType = "image/jpeg"
Response.BinaryWrite rs("Logo data").value
rs.MoveNext
Wend
%>
Can anyone help?
Thanks.