Hi Every body ,
I'm selecting this image from my sql server DB, and it is displayed correctly.But when I try ti add a hyperlink to it it gives this error.
Error Type:
Response object, ASP 0106 (0x80020005)
An unhandled data type was encountered.
/web/login.asp, line 233
This is my query
thank u all,Code:<% sql="select * from advertisment where adv_place=2 " set rs=conn.Execute (sql) if not rs.eof then %> <a href="<%=rs("href")%>"> <%Response.ContentType = "image/gif"%> <img src="<% Response.BinaryWrite rs("adv_image")%>"></a> <%else%> <img src="pic/sad-smol.jpg"> <%end if%>
Yoya



Reply With Quote
)

Bookmarks