showimage.asp
Change the HTTP header
Response.ContentType = "image/gif"
Set cn = Server.CreateObject("ADODB.Connection")
cn.Open "driver={SQL Server};server=.;UID=sa;PWD=;DATABASE=pubs"
Set rs = cn.Execute("select logo from pub_info WHERE pub_id='0736'")
Response.BinaryWrite rs("logo")
Response.End
showimage.htm
html>
head>title>閃亮日子之人事檔案管理系統(tǒng)圖片顯示/title>/head>
body>
ing src=" showimage.asp ">
/body>/html>
[1]